Skip to content

Add --preview flag to apply command for reviewing changes before applying #33

@that-github-user

Description

@that-github-user

Summary

thinktank apply currently applies changes without showing them first. Users should be able to preview before committing.

Proposed

# Preview the recommended agent's diff
thinktank apply --preview

# Preview a specific agent
thinktank apply --preview --agent 2

Shows the full diff with syntax highlighting (if terminal supports it), then prompts "Apply these changes? [y/N]".

Also consider

  • thinktank apply --dry-run — show what would change without prompting
  • Pager support for large diffs (pipe through less or similar)

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