Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Jan 23, 2026

This PR adds comprehensive documentation for the Roo Code CLI, positioned right below the VSCode Extension section in the sidebar.

What Changed

  • Created 8 comprehensive CLI documentation pages covering installation, authentication, getting started, configuration, usage modes, complete CLI reference, and advanced use cases
  • Added "Roo Code CLI" section to sidebar navigation below "Roo Code VSCode Extension"
  • Corrected all command syntax throughout documentation to match actual CLI implementation (positional prompt argument, not -P flag)
  • Verified documentation builds successfully with no errors

Key Fix

Discovered and corrected a critical issue: The CLI README in the Roo-Code repo was outdated and documented incorrect syntax using -P flag for prompts. The actual implementation uses a positional argument. All 105+ instances across documentation have been corrected to the proper syntax: roo "prompt" -w ~/workspace


Important

Adds comprehensive Roo Code CLI documentation, corrects command syntax, and updates sidebar navigation.

  • Documentation:
    • Adds 8 CLI documentation pages: installation, authentication, getting started, configuration, usage modes, CLI reference, advanced use cases.
    • Corrects command syntax in documentation to use positional prompt argument instead of -P flag.
    • Adds "Roo Code CLI" section to sidebar navigation below "Roo Code VSCode Extension".
  • Key Fix:
    • Corrects outdated CLI README syntax from -P flag to positional argument across 105+ instances.

This description was created by Ellipsis for a412df9. You can customize this summary. It will automatically update as commits are pushed.

- 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
@vercel
Copy link

vercel bot commented Jan 23, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
roo-code-docs Ready Ready Preview, Comment Jan 23, 2026 9:59pm

Request Review

@roomote
Copy link
Contributor Author

roomote bot commented Jan 23, 2026

Rooviewer Clock   See task on Roo Cloud

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.

  • Badge positioning issue in CategoryWrapper - resolved by removing the component and using plain text in label
Previous reviews

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
Comment on lines 12 to 18
if (badge) {
return (
<div style={{display: 'flex', alignItems: 'center', gap: '0.375rem'}}>
<Category {...props} />
<span className="beta-badge">{badge}</span>
</div>
);
Copy link
Contributor Author

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

2 participants