restup-cli
TypeScript icon, indicating that this package has built-in type declarations

1.0.13 • Public • Published

RESTup CLI

RESTup PHP's cli (command line interface) to speed up API development with RESTup Framework

oclif Version Downloads/week License

Usage

$ npm install -g restup-cli
$ restup COMMAND
running command...
$ restup (-v|--version|version)
restup-cli/1.0.13-alpha win32-x64 node-v14.4.0
$ restup --help [COMMAND]
USAGE
  $ restup COMMAND
...
$ npm install -g restup-cli
$ restup COMMAND
running command...
$ restup (-v|--version|version)
restup-cli/1.0.11-alpha win32-x64 node-v14.4.0
$ restup --help [COMMAND]
USAGE
  $ restup COMMAND
...

Commands

restup controller NAME

create a RESTup controller

USAGE
  $ restup controller NAME

ARGUMENTS
  NAME  name of the controller

OPTIONS
  -h, --help  show CLI help

See code: src\commands\controller.ts

restup help [COMMAND]

display help for restup

USAGE
  $ restup help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

restup init

initialize restup config files on existing restup project

USAGE
  $ restup init

OPTIONS
  -h, --help  show CLI help

See code: src\commands\init.ts

restup middleware NAME

create a RESTup Middleware

USAGE
  $ restup middleware NAME

ARGUMENTS
  NAME  name of the middleware

OPTIONS
  -h, --help  show CLI help

See code: src\commands\middleware.ts

restup model NAME

create a RESTup Model

USAGE
  $ restup model NAME

ARGUMENTS
  NAME  name of the model

OPTIONS
  -h, --help  show CLI help

See code: src\commands\model.ts

restup router NAME

create a RESTup router

USAGE
  $ restup router NAME

ARGUMENTS
  NAME  name of the router

OPTIONS
  -h, --help  show CLI help

See code: src\commands\router.ts

restup start [NAME]

create a restup project

USAGE
  $ restup start [NAME]

ARGUMENTS
  NAME  name of your project (default: restup-project)

OPTIONS
  -h, --help  show CLI help

See code: src\commands\start.ts

restup update [CHANNEL]

update the restup CLI

USAGE
  $ restup update [CHANNEL]

See code: @oclif/plugin-update

restup controller NAME

create a RESTup controller

USAGE
  $ restup controller NAME

ARGUMENTS
  NAME  name of the controller

OPTIONS
  -h, --help  show CLI help

See code: src\commands\controller.ts

restup help [COMMAND]

display help for restup

USAGE
  $ restup help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

restup middleware NAME

create a RESTup Middleware

USAGE
  $ restup middleware NAME

ARGUMENTS
  NAME  name of the middleware

OPTIONS
  -h, --help  show CLI help

See code: src\commands\middleware.ts

restup model NAME

create a RESTup Model

USAGE
  $ restup model NAME

ARGUMENTS
  NAME  name of the model

OPTIONS
  -h, --help  show CLI help

See code: src\commands\model.ts

restup router NAME

create a RESTup router

USAGE
  $ restup router NAME

ARGUMENTS
  NAME  name of the router

OPTIONS
  -h, --help  show CLI help

See code: src\commands\router.ts

restup update [CHANNEL]

update the restup CLI

USAGE
  $ restup update [CHANNEL]

See code: @oclif/plugin-update

Readme

Keywords

Package Sidebar

Install

npm i restup-cli

Weekly Downloads

1

Version

1.0.13

License

MIT

Unpacked Size

28.5 kB

Total Files

46

Last publish

Collaborators

  • werdna521.dev