Get unlimited public & private packages + team-based management with npm Teams.Learn more »

@pankod/pankod-cli

1.0.0 • Public • Published

@pankod/pankod-cli

Save a lot of time by generating services, components, tests for Pankod Boilerplate projects

Maintainability Test Coverage oclif Version Downloads/month License

$ npm install -g @pankod/pankod-cli
$ pankod-cli COMMAND
running command...
$ pankod-cli (-v|--version|version)
@pankod/pankod-cli/1.0.0 darwin-x64 node-v10.16.3
$ pankod-cli --help [COMMAND]
USAGE
  $ pankod-cli COMMAND
...

pankod-cli add Page

Add services, components and more...

USAGE
  $ pankod-cli add Page
  $ pankod-cli add Component
  $ pankod-cli add ClassComponent
  $ pankod-cli add FunctionalComponent
  $ pankod-cli add Plugin
  $ pankod-cli add Repository
  $ pankod-cli add Service

See code: src/commands/add/index.ts

pankod-cli help [COMMAND]

display help for pankod-cli

USAGE
  $ pankod-cli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

📦 Elements

pankod-cli add <element>

Add services, components and more...

  # nextjs2 
  $ pankod-cli add Page
  $ pankod-cli add Component
 
  # nextjs 
  $ pankod-cli add Page
  $ pankod-cli add ClassComponent
  $ pankod-cli add FunctionalComponent
 
  # moleculer   
  $ pankod-cli add Service
  $ pankod-cli add Repository
 
  # svelte 
  $ pankod-cli add Component

See code: src/commands/add

🏗 Customization

Checkout Wiki to read about customization and extending the power of your fingers.

Install

npm i @pankod/pankod-cli

DownloadsWeekly Downloads

344

Version

1.0.0

License

MIT

Unpacked Size

147 kB

Total Files

265

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar