Command line options
When using SCI by running npx setup-ci
, you can provide additional option flags to modify the default behavior.
General options
Flag | Description |
---|---|
--preset | Run the script with your own preset to skip interactive survey at the beginning. Combine it with feature flags to specify what workflows you want to generate. |
--skip-git-check | By default, the script will prompt the user if there are uncommitted changes in the working repository. Use this flag to proceed without asking. |
--version | Print version and exit |
--help | Print help message and exit |
Feature flags
The following are feature flags that can be used with --preset
flag (they are ignored if --preset
is not provided).
Flag | Description |
---|---|
--lint | Generate ESLint workflow |
--jest | Generate Jest workflow |
--ts | Generate Typescript check workflow |
--prettier | Generate Prettier check workflow |
--detox | Generate Detox workflow |
--maestro | Generate Maestro workflow |
--eas | Generate EAS Preview workflow |