Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

A **TUI + CLI** for the [Runloop.ai](https://runloop.ai) platform. Use it as an **interactive TUI** (Terminal User Interface) with rich UI components, or as a **traditional CLI** for scripting and automation.

📖 **[Full Documentation](https://docs.runloop.ai/docs/tools/cli)**
📖 **[Full Documentation](https://docs.runloop.ai/docs/tools/rl-cli)**

<p align="center">
<img src="https://raw.githubusercontent.com/runloopai/rl-cli/main/misc/demo.gif" alt="Runloop CLI Demo" width="800">
Expand Down
12 changes: 6 additions & 6 deletions scripts/generate-command-docs.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const rootDir = join(__dirname, "..");
const readmePath = join(rootDir, "README.md");

// Default docs path - can be overridden via DOCS_PATH env var or --docs-path argument
const defaultDocsPath = join(rootDir, "..", "docs", "docs", "tools", "cli.mdx");
const defaultDocsPath = join(rootDir, "..", "docs", "docs", "tools", "rl-cli.mdx");

/**
* Generates markdown documentation for the command structure from Commander
Expand Down Expand Up @@ -120,7 +120,7 @@ function generateCommandStructure(program) {
}

/**
* Generates a detailed command reference for external docs (cli.mdx)
* Generates a detailed command reference for external docs (rl-cli.mdx)
* Uses Mintlify components for better presentation
*/
function generateDetailedCommandDocs(program) {
Expand Down Expand Up @@ -286,7 +286,7 @@ function updateReadme(newCommandStructure) {
}

/**
* Generates the full cli.mdx content
* Generates the full rl-cli.mdx content
*/
function generateCliMdx(program) {
const commandDocs = generateDetailedCommandDocs(program);
Expand Down Expand Up @@ -508,7 +508,7 @@ The Runloop CLI is open-source. We welcome contributions!
}

/**
* Updates the external docs cli.mdx file
* Updates the external docs rl-cli.mdx file
*/
function updateDocsMdx(program, docsPath) {
if (!existsSync(docsPath)) {
Expand Down Expand Up @@ -547,9 +547,9 @@ function parseArgs() {
Usage: generate-command-docs.js [options]

Options:
--docs-path <path> Path to cli.mdx file (default: ../docs/docs/tools/cli.mdx)
--docs-path <path> Path to rl-cli.mdx file (default: ../docs/docs/tools/rl-cli.mdx)
--skip-readme Skip updating README.md
--skip-docs Skip updating cli.mdx
--skip-docs Skip updating rl-cli.mdx
--help, -h Show this help message

Environment Variables:
Expand Down
Loading
Loading