Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit d146137

Browse files
chore: add ruleset-add to readme
1 parent 148d575 commit d146137

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,22 @@ Use the command below to delete a Codiga API token _from your system_. You can [
5454
codiga token-delete
5555
```
5656

57+
### Create or add rulesets to a `codiga.yml`
58+
59+
To create a `codiga.yml` file with rulesets or to quickly add new rulesets to a `codiga.yml` file, we offer a single command.
60+
61+
If you run the command below, we'll open an interactive menu where we can suggest languages and rulesets, and you can choose which ones to use.
62+
63+
```bash
64+
codiga ruleset-add
65+
```
66+
67+
If you know what rulesets you want to add, you can pass their names into the command like you see below.
68+
69+
```bash
70+
codiga ruleset-add my-public-ruleset my-private-ruleset
71+
```
72+
5773
### Analysis and report issues between two commits
5874

5975
Use the command below to detect any violations between your two commits.

0 commit comments

Comments
 (0)