feat: add archgate plugin command group#61
Merged
Conversation
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>
Deploying archgate-cli with
|
| 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 |
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
archgate plugin url— prints the authenticated plugin marketplace URL for manual tool configuration (supports--editorflag for claude/cursor/vscode/copilot)archgate plugin install— installs the archgate plugin for already-initialized repos, auto-detecting editor CLI availability or falling back to manual instructionsTest plan
bun run validatepasses (lint, typecheck, format, 255 tests, ADR checks, build)archgate plugin urloutputs correct authenticated URL afterarchgate loginarchgate plugin url --editor vscodeoutputs the VS Code variantarchgate plugin installauto-installs when editor CLI is availablearchgate plugin installprints manual instructions when editor CLI is missing🤖 Generated with Claude Code