Skip to content

Add --diff-only flag to show just the diff without full output #138

@that-github-user

Description

@that-github-user

Summary

Power users piping thinktank output often just want the diff. A --diff-only flag on run/apply would output only the recommended agent's unified diff to stdout, enabling:
```bash
thinktank run "fix bug" -n 3 --diff-only | git apply
thinktank run "fix bug" -n 3 --diff-only > fix.patch
```
This makes thinktank composable with other tools.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions