Flash' application generator.
Flash' application generator.
$ npm install -g @faisal50x/flashcli
or
$ npm i -g @faisal50x/flashcli
The quickest way to get started with flash is to utilize the executable flash(1)
to generate an application as shown below:
Create the app:
$ flash new hello-world
Goto application folder :
$ cd hello-world
Start your run/main.js app at http://localhost:3000/
:
$ npm start
This generator can also be further configured with the following command line flags.
-v, --version output the version number
-h, --help output usage information
Commands:
new <name> Create new flash project
make controller <name> Create new flash controller
make middleware <name> Create new flash middleware