Skip to content

Document --dry-run CLI flag and dryRun config option#26

Closed
promptless[bot] wants to merge 2 commits into
mainfrom
promptless/pr-292-dry-run-flag
Closed

Document --dry-run CLI flag and dryRun config option#26
promptless[bot] wants to merge 2 commits into
mainfrom
promptless/pr-292-dry-run-flag

Conversation

@promptless
Copy link
Copy Markdown
Contributor

@promptless promptless Bot commented Apr 30, 2026

Open this suggestion in Promptless to view citations and reasoning process

Documents the new --dry-run CLI flag and dryRun config field that resolves tests without executing them, outputting the resolved test plan as JSON. Includes use cases for debugging config issues and CI validation.

Trigger Events


Tip: Use Vale? Add your vale.ini when setting up your Docs Collection.

Add documentation for the new dry-run feature that resolves tests
without executing them, outputting the resolved test plan as JSON.
Useful for debugging config and verifying test setup.
npx doc-detective --config .doc-detective.json --dry-run

# Or validate with JSON Schema
npx ajv validate -s https://raw.githubusercontent.com/doc-detective/common/refs/heads/main/dist/schemas/config_v3.schema.json -d .doc-detective.json
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added dryRun config field and --dry-run CLI flag documentation based on PR #292 which implements the feature in src/utils.ts and src/core/index.ts.

Source: doc-detective/doc-detective#292

@hawkeyexl hawkeyexl closed this May 3, 2026
@promptless promptless Bot deleted the promptless/pr-292-dry-run-flag branch May 3, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant