CLI
The following are the help information printed from @agros/cli
:
Usage: agros [options] [command]
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
generate|g Generate Agros.js collections
update|u Update an Agros.js collections with another collection
routes|r Manage project routes
help [command] display help for command
In this section of documentation, we will introduce our CLI commands based on official platform @agros/platform-react
and template generator @agros/create-app
. You can initialize the environment by the following command:
Initialize starter template
npm create @agros/app
Then follow the instruction to create template files to your disk filesystem.