Skip to content

Conversation

@whizzzkid
Copy link
Contributor

Part 7 of 8

This is 7/8 of #265

Description of Changes (auto-gen)

Add two example projects demonstrating programmatic usage:

examples/simple-analyze/:

  • Demonstrates analyze::process_text and process_input
  • Shows different AnalyzeInput variants (text, lines, file)
  • Examples with AutoApprove and DenyAll interaction modes

examples/simple-doctor/:

  • Demonstrates doctor::run and doctor::list
  • Shows DoctorRunOptions modes (ci_mode, with_fixes, for_groups)
  • Example of inspecting PathRunResult

Both examples are standalone Cargo projects with:

  • Cargo.toml with dx-scope dependency
  • main.rs with documented examples
  • README.md with usage instructions

Add two example projects demonstrating programmatic usage:

examples/simple-analyze/:
- Demonstrates analyze::process_text and process_input
- Shows different AnalyzeInput variants (text, lines, file)
- Examples with AutoApprove and DenyAll interaction modes

examples/simple-doctor/:
- Demonstrates doctor::run and doctor::list
- Shows DoctorRunOptions modes (ci_mode, with_fixes, for_groups)
- Example of inspecting PathRunResult

Both examples are standalone Cargo projects with:
- Cargo.toml with dx-scope dependency
- main.rs with documented examples
- README.md with usage instructions

Co-Authored-By: Claude (global.anthropic.claude-opus-4-5-20251101-v1:0) <noreply@anthropic.com>
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.

2 participants