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