Skip to content

RDI-3208 Add --interactive option to remove subcommand#26

Merged
cfoch merged 1 commit into
mainfrom
copilot/add-interactive-option-remove
May 6, 2026
Merged

RDI-3208 Add --interactive option to remove subcommand#26
cfoch merged 1 commit into
mainfrom
copilot/add-interactive-option-remove

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Apr 23, 2026

The remove subcommand lacked the --interactive flag that sync already supports, preventing manual conflict resolution during removal-triggered re-syncs. .pyc/__pycache__ files were also being tracked by git.

Changes

  • --interactive on remove
    • Added interactive=False parameter to GUW.remove(), forwarded to _sync()
    • Registered --interactive flag on the remove subparser (identical semantics to sync)
    • run() dispatch passes args.interactive to guw.remove()
guw config.toml remove --interactive my-feature
  • Remove .pyc files
    • Untracked all __pycache__/ directories from git
    • Added .gitignore covering __pycache__/, *.pyc, *.pyo, build artifacts, and common IDE directories

@cfoch cfoch force-pushed the copilot/add-interactive-option-remove branch from f9d66b6 to 09cfa1f Compare April 23, 2026 22:49
@cfoch cfoch marked this pull request as ready for review April 30, 2026 14:43
@cfoch cfoch changed the title Add --interactive option to remove subcommand; drop tracked .pyc files RDI-3208 Add --interactive option to remove subcommand Apr 30, 2026
@cfoch cfoch merged commit 7c008c4 into main May 6, 2026
2 checks passed
@cfoch cfoch deleted the copilot/add-interactive-option-remove branch May 6, 2026 18:58
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.

3 participants