@revolut/web-cli
v1.8.0
Published
Interactive CLI tool for web projects to provide automation for various tasks
Downloads
5
Keywords
Readme
@revolut/web-cli
Interactive CLI tool for web projects to provide automation for a various task.
Installation
npm i @revolut/web-cli -g
Or use npx
npx @revolut/web-cli scaffold
# or whatever commands are there
Usage
Options:
-V, --version output the version number
-h, --help display help for command
Commands:
scaffold [options] Scaffold any app, library or whatever is available
help [command] display help for command
Scaffold
Just run revolut-web-cli scaffold
and answer an interactive prompts
Alternatively you can pass parameters as flags. If required flag will be missing you will be asked to provide it using prompts
Usage: revolut-web-cli scaffold --project-name my-lib --template library --folder-name
Scaffold any app, library or whatever is available
Options:
-fn, --folder-name <name> Name of the folder
-pn, --package-name <name> Name of the package (name field in package.json)
-t, --template <name> Name of the template
-h, --help display help for command
Development
Run yarn start
in the root of the that module to enable watch recompilation of the source
code
Testing
Go to <root>/tests/web-cli-test
and run yarn test