RESTup PHP's cli (command line interface) to speed up API development with RESTup Framework
$ 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
...restup controller NAMErestup help [COMMAND]restup initrestup middleware NAMErestup model NAMErestup router NAMErestup start [NAME]restup update [CHANNEL]
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
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
initialize restup config files on existing restup project
USAGE
$ restup init
OPTIONS
-h, --help show CLI help
See code: src\commands\init.ts
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
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
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
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
update the restup CLI
USAGE
$ restup update [CHANNEL]
See code: @oclif/plugin-update
restup controller NAMErestup help [COMMAND]restup middleware NAMErestup model NAMErestup router NAMErestup update [CHANNEL]
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
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
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
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
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
update the restup CLI
USAGE
$ restup update [CHANNEL]
See code: @oclif/plugin-update