twilio-style-cli
v0.1.1
Published
Twilio Style CLI
Downloads
2
Readme
twilio-style-cli
CLI for Twilio Style.
Usage
$ npm install -g twilio-style-cli
$ twilio-style COMMAND
running command...
$ twilio-style (-v|--version|version)
twilio-style-cli/0.1.1 darwin-x64 node-v12.18.3
$ twilio-style --help [COMMAND]
USAGE
$ twilio-style COMMAND
...
Commands
twilio-style help [COMMAND]
display help for twilio-style
USAGE
$ twilio-style help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
twilio-style migrate
Tool to help onboard with Twilio Style; useful for big projects with many lint errors. This command will run the linter for the directory/path provided, take the list of errors and add them as warning overrides in your eslint configuration.
USAGE
$ twilio-style migrate
OPTIONS
-c, --config=config (required) The path to your eslint configuration file
-d, --dir=dir (required) The directory/path to lint
-e, --extensions=extensions The file extensions to test
-h, --help show CLI help
-i, --ignore-pattern=ignore-pattern The directory/path to ignore when linting
EXAMPLE
$ twilio-style migrate --config .eslintrc.json --dir src/
See code: src/commands/migrate.ts