-
Notifications
You must be signed in to change notification settings - Fork 11
docs: add cli documentation #102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
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
Contributor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
13 files reviewed, 13 comments
Contributor
|
🚀 Preview deployed successfully! Preview URL: https://pr-102-arcane.ofkm.workers.dev Built from commit 1feba42 Powered by Cloudflare Workers |
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.
Disclaimer Greptiles Review uses AI, make sure to check over its work
Greptile Overview
Updated On: 2025-10-22 00:42:21 UTC
Greptile Summary
This PR adds comprehensive CLI documentation to the Arcane documentation site. It introduces a new
clicontent collection processed by Velite, creates individual markdown pages for each CLI command (arcane, generate, generate-secret, help, version), and implements a reusableCliCommandSvelte component for consistent rendering. The documentation is integrated into the site's routing and navigation by modifyingvelite.config.js,docs.ts, and adding the CLI section to the sidebar between Features and Guides. Additionally, existing setup documentation (installation.md, socket-proxy.md) was updated to reference the new CLI-based secret generation method alongside the previous openssl approach. The implementation follows the established pattern in the codebase where centralized configuration (cli-commands.ts) feeds reusable components, maintaining a single source of truth for command metadata while enabling DRY documentation.PR Description Notes:
Important Files Changed
Changed Files
arcane generatecommand; contains typo "Arcanes" (should be "Arcane's") in description.arcane helpcommand; clean implementation following established pattern.cliinto ALL_DOCS array.clicollection to process CLI markdown files; removes trailing commas for consistency.arcane generate secretcommand; clean implementation....cliline (inconsistent with other array elements).arcane versioncommand; follows established pattern correctly.ARCANE_COMMANDSimport.indexPageimport; clean implementation.globalFlagsfield unused; 'generate' includes itself in aliases array.Confidence score: 3/5
globalFlagsfield and self-referential alias).Context used:
dashboard- .github/copilot-instructions.md file (source)