Skip to content

feat: add archgate plugin command group#61

Merged
rhuanbarreto merged 5 commits into
mainfrom
claude/quirky-napier
Mar 16, 2026
Merged

feat: add archgate plugin command group#61
rhuanbarreto merged 5 commits into
mainfrom
claude/quirky-napier

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Adds archgate plugin url — prints the authenticated plugin marketplace URL for manual tool configuration (supports --editor flag for claude/cursor/vscode/copilot)
  • Adds archgate plugin install — installs the archgate plugin for already-initialized repos, auto-detecting editor CLI availability or falling back to manual instructions

Test plan

  • bun run validate passes (lint, typecheck, format, 255 tests, ADR checks, build)
  • Verify archgate plugin url outputs correct authenticated URL after archgate login
  • Verify archgate plugin url --editor vscode outputs the VS Code variant
  • Verify archgate plugin install auto-installs when editor CLI is available
  • Verify archgate plugin install prints manual instructions when editor CLI is missing
  • Verify both commands error gracefully when not logged in

🤖 Generated with Claude Code

Adds a `plugin` command group for managing editor plugins independently
of `archgate init`. `plugin url` prints the authenticated marketplace
URL for manual tool configuration, and `plugin install` installs the
plugin for already-initialized repos via editor CLI or manual fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 15, 2026

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 0196d2e
Status: ✅  Deploy successful!
Preview URL: https://034bdd0d.archgate-cli.pages.dev
Branch Preview URL: https://claude-quirky-napier.archgate-cli.pages.dev

View logs

rhuanbarreto and others added 4 commits March 16, 2026 00:47
Replace .option() with new Option().choices().default() and .addOption()
in plugin commands for compile-time type narrowing. Adds ARCH-008 ADR
to enforce this pattern for all fixed-choice command options.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Enforce ARCH-008 as error severity. Migrate --editor in init and
--domain in adr create, adr update, and review-context to use
new Option().choices() with .addOption(), removing manual validation
and unsafe casts.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Replace bare parseInt passed to .option() in session-context commands
with new Option().argParser() and .addOption(). Fixes a subtle bug
where Commander passes the previous value as parseInt's radix argument.

Extends ARCH-008 ADR with a new use-add-option-for-arg-parser rule
(error severity) to enforce this pattern for all custom parsers.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add `archgate plugin url` and `archgate plugin install` subcommands to
the CLI reference docs. Update all editor plugin guides (Claude Code,
Cursor, VS Code, Copilot) with the new `archgate plugin install` command
for already-initialized projects. Both English and Portuguese versions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@rhuanbarreto rhuanbarreto merged commit 24950b4 into main Mar 16, 2026
7 checks passed
@rhuanbarreto rhuanbarreto deleted the claude/quirky-napier branch March 16, 2026 00:45
@github-actions github-actions Bot mentioned this pull request Mar 16, 2026
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