Skip to content

fix: correct login refresh hint from option to subcommand#98

Merged
rhuanbarreto merged 2 commits into
mainfrom
fix/docs-inconsistencies
Mar 20, 2026
Merged

fix: correct login refresh hint from option to subcommand#98
rhuanbarreto merged 2 commits into
mainfrom
fix/docs-inconsistencies

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Fix the login command hint that incorrectly tells users to run archgate login --refresh (an option) instead of archgate login refresh (a subcommand), which caused an "unknown option" error

Test plan

  • bun run validate passes
  • Run archgate login while already authenticated and verify the hint says archgate login refresh

@cloudflare-workers-and-pages

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

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 78b26ae
Status: ✅  Deploy successful!
Preview URL: https://3846ebd2.archgate-cli.pages.dev
Branch Preview URL: https://fix-docs-inconsistencies.archgate-cli.pages.dev

View logs

The hint message said `--refresh` (an option) but refresh is registered
as a subcommand, causing "unknown option" errors.
@rhuanbarreto rhuanbarreto force-pushed the fix/docs-inconsistencies branch from cd702d0 to 78b26ae Compare March 20, 2026 22:06
@rhuanbarreto rhuanbarreto merged commit 176ef40 into main Mar 20, 2026
8 checks passed
@rhuanbarreto rhuanbarreto deleted the fix/docs-inconsistencies branch March 20, 2026 22:08
@github-actions github-actions Bot mentioned this pull request Mar 20, 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