Skip to content

Commit facbc29

Browse files
committed
chore(docs): update docs
1 parent f4ea882 commit facbc29

1 file changed

Lines changed: 14 additions & 13 deletions

File tree

README.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -152,16 +152,6 @@ Check version:
152152
codeclone --version
153153
```
154154

155-
Run in CI mode:
156-
157-
```bash
158-
codeclone . --ci --html .cache/codeclone/report.html
159-
```
160-
161-
`--ci` is equivalent to `--fail-on-new --no-color --quiet`.
162-
163-
---
164-
165155
## Baseline Workflow (Recommended)
166156

167157
### 1. Create a baseline
@@ -180,9 +170,19 @@ CI deterministic and explainable.
180170
### 2. Use in CI
181171

182172
```bash
183-
codeclone . --fail-on-new --no-progress
173+
codeclone . --ci
184174
```
185175

176+
or:
177+
178+
```bash
179+
codeclone . --ci --html .cache/codeclone/report.html
180+
```
181+
182+
`--ci` is equivalent to `--fail-on-new --no-color --quiet`.
183+
184+
---
185+
186186
Behavior:
187187

188188
- existing clones are allowed,
@@ -223,8 +223,9 @@ repos:
223223
- id: codeclone
224224
name: CodeClone
225225
entry: codeclone
226-
language: python
227-
args: [ ".", "--fail-on-new" ]
226+
language: system
227+
pass_filenames: false
228+
args: [ ".", "--ci" ]
228229
types: [ python ]
229230
```
230231

0 commit comments

Comments
 (0)