Skip to content

Framework_CLI

StefansArya edited this page Aug 9, 2019 · 3 revisions

You can get into the CLI mode by using

$ ./scarlets

@rem Or
$ php scarlets

@rem In windows you can do it easily
> scarlets

Below are build-in CLI commands from the framework. You can also access this information from the CLI by type scarlets help or scarlets {command} /? if the command has a help section.

Command Description
serve {help} Start build-in webserver
upgrade {rollback} Upgrade the framework and backup the old version
maintenance {on/off} Set the website to maintenance mode
schedule {help} Control scheduled task
cls Clear console output
help Open this help section
test Start unit testing
exit Exit from CLI mode
Clone this wiki locally