@revolut/web-cli

Interactive CLI tool for web projects to provide automation for various tasks

Usage no npm install needed!

<script type="module">
  import revolutWebCli from 'https://cdn.skypack.dev/@revolut/web-cli';
</script>

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