-
Notifications
You must be signed in to change notification settings - Fork 177
docs: add comprehensive CLI documentation section #507
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
base: main
Are you sure you want to change the base?
Conversation
- Created 8 comprehensive CLI documentation pages covering installation, authentication, configuration, usage, and advanced patterns - Added CLI section to sidebar below VSCode Extension section - Corrected all command syntax to use positional argument (not -P flag) based on actual CLI implementation - Verified documentation builds successfully
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Review complete. All previously flagged issues have been resolved. The badge positioning issue was fixed by simplifying the approach - using plain text "(Beta)" in the label instead of a styled badge component.
Mention @roomote in a comment to request specific changes to this pull request or fix all unresolved issues. |
- Created custom DocSidebarItem/Category wrapper component - Added beta-badge CSS styling matching design screenshot - Updated sidebar config to use customProps.badge - Verified build succeeds
| if (badge) { | ||
| return ( | ||
| <div style={{display: 'flex', alignItems: 'center', gap: '0.375rem'}}> | ||
| <Category {...props} /> | ||
| <span className="beta-badge">{badge}</span> | ||
| </div> | ||
| ); |
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.
When the category is expanded, the badge will be mispositioned. The Category component renders both the label and all nested menu items. With this flex wrapper, the badge becomes a sibling to the entire expanded block, causing it to float on the right side vertically centered against all 8 nested items rather than appearing inline with the "Roo Code CLI" label. Consider swizzling the category label component specifically or using CSS ::after on the label element to position the badge correctly.
Fix it with Roo Code or mention @roomote and request a fix.
- Modified Category wrapper to inject badge into label as JSX - Badge should now appear inline next to category label
- Wraps Category component in container with badge - Added comprehensive CSS styling - Badge should render next to category label
- Removed custom DocSidebarItem/Category component - Removed beta badge CSS styling - Sidebar now shows "Roo Code CLI (Beta)" as plain text - Build verified successfully
This PR adds comprehensive documentation for the Roo Code CLI, positioned right below the VSCode Extension section in the sidebar.
What Changed
Key Fix
Discovered and corrected a critical issue: The CLI README in the Roo-Code repo was outdated and documented incorrect syntax using
-Pflag for prompts. The actual implementation uses a positional argument. All 105+ instances across documentation have been corrected to the proper syntax:roo "prompt" -w ~/workspaceImportant
Adds comprehensive Roo Code CLI documentation, corrects command syntax, and updates sidebar navigation.
-Pflag.-Pflag to positional argument across 105+ instances.This description was created by
for a412df9. You can customize this summary. It will automatically update as commits are pushed.