Skip to content

twilio-labs/twilio-style-cli

Repository files navigation

twilio-style-cli

oclif Version Downloads/week License All Contributors

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

Contributing

Check out CONTRIBUTING for more information on how to contribute to this project.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Alice Cai

💻 👀 🤔

Kousha Talebian

💻 👀 🤔

This project follows the all-contributors specification. Contributions of any kind welcome!