Skip to content

Commit 68aafe9

Browse files
committed
docs: add probitas cache command documentation
Probitas 0.19 introduced the `probitas cache` command for pre-downloading scenario dependencies. This update documents the command in the Dependency Caching section, explaining its purpose for CI/CD optimization and offline work, along with usage examples and supported options.
1 parent 4dbc82d commit 68aafe9

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

docs/overview.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,29 @@ All code quality commands support these options:
159159
-q, --quiet # Suppress output
160160
```
161161

162+
## Dependency Caching
163+
164+
Pre-download and cache dependencies for your scenario files using
165+
`probitas cache`. This is useful for CI/CD pipelines and offline work.
166+
167+
```bash
168+
# Cache dependencies for all discovered scenarios
169+
probitas cache
170+
171+
# Cache specific directory
172+
probitas cache probitas/api/
173+
174+
# Force re-download all dependencies
175+
probitas cache -r
176+
177+
# Cache with custom include pattern
178+
probitas cache --include "e2e/**/*.probitas.ts"
179+
```
180+
181+
The cache command uses the same file discovery as `probitas run`, respecting
182+
your `includes` and `excludes` configuration. All common options (`--include`,
183+
`--exclude`, `--config`, `-v`, `-q`) are supported.
184+
162185
### Tag-Based Filtering
163186

164187
Organize scenarios with tags for easy filtering:

0 commit comments

Comments
 (0)