fe-toolbelt
KASKO Frontend developer scripts
Installation
To install toolbelt globally, run:
yarn global add @kasko/fe-toolbelt
Now the kasko-fe
command is available globally.
Running scripts
When package not installed globaly run
yarn start <command>
Otherwise run kasko-fe
or alias kk
kasko-fe <command> [options]
help
To get help about usage of toolbelt run
kasko-fe help
To get detailed info about how some commands run
kasko-fe help <command>
All CLI Options
Usage
$ kasko-fe <command> [options]
Available Commands
help List all commands and options
For more info, run `help` command with name of the command as second argument
$ kasko-fe help something
Options
-v, --version Displays current version
Development
To add new command you must create new /<command>/<command>.js
file in /src/commands
and import in in /src/commands/index.js
root file with command name you want to link it.
To add docs for newly created command, create readme.md
new file in commands folder.
Finally add info about new command in /src/help/readme.md
file.
Installation of dependencies
yarn install
Running tests
yarn test
or with watch mode
yarn test:watch