RESTup CLI
RESTup PHP's cli (command line interface) to speed up API development with RESTup Framework
Usage
$ npm install -g restup-cli$ restup COMMANDrunning 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 COMMANDrunning 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
restup help [COMMAND]
restup init
restup middleware NAME
restup model NAME
restup router NAME
restup start [NAME]
restup update [CHANNEL]
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
restup help [COMMAND]
restup middleware NAME
restup model NAME
restup router NAME
restup update [CHANNEL]
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