Skip to main content

Command line options

When using SCI by running npx setup-ci, you can provide additional option flags to modify the default behavior.

General options

FlagDescription
--presetRun 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-checkBy default, the script will prompt the user if there are uncommitted changes in the working repository. Use this flag to proceed without asking.
--versionPrint version and exit
--helpPrint 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).

FlagDescription
--lintGenerate ESLint workflow
--jestGenerate Jest workflow
--tsGenerate Typescript check workflow
--prettierGenerate Prettier check workflow
--detoxGenerate Detox workflow
--maestroGenerate Maestro workflow
--easGenerate EAS Preview workflow

We are Software Mansion.