CLI tool for React.js
To ensure consistent, readable commit message and automatically compute next semver version, we use AngularJS's commit message convention a.k.a Conventional-changelog. To use this convention in our commit with use the npm Commitizen module. Therefore, to make a commit you must follow these steps:
- Stage your changes, typically:
git add .
- Run
yarn commit
- Then, fill all the information needed
$ npm install -g react-cli
$ react COMMAND
running command...
$ react (-v|--version|version)
react-cli/0.0.0 darwin-x64 node-v14.15.1
$ react --help [COMMAND]
USAGE
$ react COMMAND
...
describe the command here
USAGE
$ react hello [FILE]
OPTIONS
-f, --force
-h, --help show CLI help
-n, --name=name name to print
EXAMPLE
$ react hello
hello world from ./src/hello.ts!
See code: src/commands/hello.ts
display help for react
USAGE
$ react help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help