Skip to content

feat: unadvertised --uninstall mode for skill office - #237

Closed
quickbeard wants to merge 1 commit into
feat/office-etag-and-force-skillsfrom
feat/office-uninstall-mode
Closed

feat: unadvertised --uninstall mode for skill office#237
quickbeard wants to merge 1 commit into
feat/office-etag-and-force-skillsfrom
feat/office-uninstall-mode

Conversation

@quickbeard

Copy link
Copy Markdown
Owner

Summary

Stacked on #236 (same files; retargets to main automatically when it merges).

Adds codevhub skill office --uninstall: fetches the published per-OS uninstall script (codev-office-<os>-uninstall.sh|ps1, always refetched like the setup script) and runs it from the download dir — no bundle download in this mode. --yes, --skills-only, and --purge-downloads pass through to the uninstaller (-Yes/-SkillsOnly/-PurgeDownloads on Windows); without --yes the uninstaller's own confirmation prompt works since the spawner inherits stdio. --download-only and cross-platform --platform behave as in install mode (stage the script, print the manual command).

Deliberately unadvertised: none of the new flags appear in OFFICE_USAGE or codevhub help — discoverable from source only, per the repo's escape-hatch convention. Guardrails follow the strict-parse rule: install flags combined with --uninstall (and uninstall passthroughs without it) error loudly instead of being silently forwarded to a script that would reject them.

Test plan

  • 45 tests pass across the office/download suites — new: uninstall parse + both mixed-flag rejections, uninstall script-name contract for all three platforms, uninstallerArgs for both shell styles, and an end-to-end run asserting only the uninstall script is fetched (bundle untouched) and spawned with the passthroughs
  • lint/typecheck/build + smoke pass
  • Live: codevhub skill office --uninstall --skills-only against the bucket once the uninstall scripts are uploaded

🤖 Generated with Claude Code

codevhub skill office --uninstall fetches the published per-OS
uninstall script (codev-office-<os>-uninstall.sh|ps1) and runs it -
no bundle download. --yes / --skills-only / --purge-downloads pass
through to the uninstaller; install flags are rejected in uninstall
mode and vice versa, so nothing is silently forwarded to a script
that would choke on it. Deliberately absent from OFFICE_USAGE and
codevhub help.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@quickbeard
quickbeard deleted the branch feat/office-etag-and-force-skills August 4, 2026 13:16
@quickbeard quickbeard closed this Aug 4, 2026
@quickbeard
quickbeard deleted the feat/office-uninstall-mode branch August 4, 2026 13:17
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