File tree Expand file tree Collapse file tree 1 file changed +14
-5
lines changed
Expand file tree Collapse file tree 1 file changed +14
-5
lines changed Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ The wizard will prompt you to select plugins and configure their options, then g
1616
1717## Options
1818
19- | Flag | Description | Default |
20- | ------------- | -------------------------------------- | ------- |
21- | ` --plugins ` | Comma-separated plugin slugs to enable | |
22- | ` --dry-run ` | Preview changes without writing files | ` false ` |
23- | ` --yes ` , ` -y ` | Skip prompts and use defaults | ` false ` |
19+ | Option | Type | Default | Description |
20+ | --------------------- | ------------------------------------ | ------------- | -------------------------------------- |
21+ | ** ` --plugins ` ** | ` string[] ` | | Comma-separated plugin slugs to enable |
22+ | ** ` --config-format ` ** | ` 'ts' ` \| ` 'js' ` \| ` 'mjs' ` | auto-detected | Config file format |
23+ | ** ` --mode ` ** | ` 'standalone' ` \| ` 'monorepo' ` | auto-detected | Setup mode |
24+ | ** ` --ci ` ** | ` 'github' ` \| ` 'gitlab' ` \| ` 'none' ` | | CI/CD integration |
25+ | ** ` --dry-run ` ** | ` boolean ` | ` false ` | Preview changes without writing files |
26+ | ** ` --yes ` ** , ` -y ` | ` boolean ` | ` false ` | Skip prompts and use defaults |
2427
2528### Examples
2629
@@ -36,6 +39,12 @@ Skip prompts and enable specific plugins:
3639npm init @code-pushup/cli -y --plugins=eslint,coverage
3740```
3841
42+ Set up a monorepo with GitHub CI integration:
43+
44+ ``` bash
45+ npm init @code-pushup/cli --mode=monorepo --ci=github
46+ ```
47+
3948Preview the generated config without writing:
4049
4150``` bash
You can’t perform that action at this time.
0 commit comments