Skip to content

docs: consolidate CLI documentation into cli_reference.md - #203

Merged
justinchuby merged 2 commits into
mainfrom
justinchu/cli-docs-consolidate
Apr 23, 2026
Merged

docs: consolidate CLI documentation into cli_reference.md#203
justinchuby merged 2 commits into
mainfrom
justinchu/cli-docs-consolidate

Conversation

@justinchuby

Copy link
Copy Markdown
Member

Create a single comprehensive CLI reference (docs/cli_reference.md) that documents all subcommands and flags. Simplify getting-started.md and README.md to brief examples with links to the full reference.

Changes

  • New: docs/cli_reference.md — comprehensive reference for all CLI subcommands (build, build-gguf, list, info) and flags
  • Removed: docs/cli.md — replaced by the new comprehensive reference
  • Simplified: docs/getting-started.md — replaced detailed CLI section with quick start + link
  • Simplified: README.md — brief CLI examples + link to reference
  • Updated: docs/index.md toctree to point to cli_reference
  • Updated: docs/ep_quickstart.md with cross-reference to CLI reference

Motivation

CLI documentation was duplicated across cli.md, getting-started.md, and README.md with some flags (--static-cache, --max-seq-len, --ep, --runtime) missing from the original cli.md. This consolidates everything into one authoritative source.

Create docs/cli_reference.md as the single comprehensive CLI
reference. Simplify getting-started.md and README.md to brief
examples with links to the full reference.

- Move detailed --ep, --optimize, and all flag documentation to
  cli_reference.md
- Add missing flags: --static-cache, --max-seq-len, --ep, --runtime
- Document all subcommands: build, build-gguf, list, info
- Replace docs/cli.md with the new comprehensive reference
- Update toctree in docs/index.md
- Add cross-reference from ep_quickstart.md

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchu@microsoft.com>
@github-actions

github-actions Bot commented Apr 23, 2026

Copy link
Copy Markdown

Performance Comparison

Comparing ea8251a2c6cd12

Model Metric Baseline Current Delta
bert (feature-extraction) model_size_bytes 359 KB 359 KB +0.0%
bert (feature-extraction) num_nodes 60 60 +0.0%
falcon model_size_bytes 364 KB 364 KB +0.0%
falcon num_nodes 66 66 +0.0%
gemma2 model_size_bytes 428 KB 428 KB +0.0%
gemma2 num_nodes 107 107 +0.0%
gpt2 model_size_bytes 388 KB 388 KB +0.0%
gpt2 num_nodes 53 53 +0.0%
llama model_size_bytes 425 KB 425 KB +0.0%
llama num_nodes 61 61 +0.0%
llama (static-cache) model_size_bytes 425 KB 425 KB +0.0%
llama (static-cache) num_nodes 58 58 +0.0%
mamba (ssm-text-generation) model_size_bytes 296 KB 296 KB +0.0%
mamba (ssm-text-generation) num_nodes 98 98 +0.0%
phi3 model_size_bytes 421 KB 421 KB +0.0%
phi3 num_nodes 59 59 +0.0%
phi3 (static-cache) model_size_bytes 421 KB 421 KB +0.0%
phi3 (static-cache) num_nodes 56 56 +0.0%
qwen2 model_size_bytes 425 KB 425 KB +0.0%
qwen2 num_nodes 61 61 +0.0%
qwen2 (static-cache) model_size_bytes 425 KB 425 KB +0.0%
qwen2 (static-cache) num_nodes 58 58 +0.0%
qwen3_5_moe (hybrid-text-generation) model_size_bytes 506 KB 506 KB +0.0%
qwen3_5_moe (hybrid-text-generation) num_nodes 275 275 +0.0%
qwen3_5_text (hybrid-text-generation) model_size_bytes 458 KB 458 KB +0.0%
qwen3_5_text (hybrid-text-generation) num_nodes 129 129 +0.0%
qwen3_5_vl (hybrid-qwen-vl) model_size_bytes 977 KB 977 KB +0.0%
qwen3_5_vl (hybrid-qwen-vl) num_nodes 408 408 +0.0%
t5 (seq2seq) model_size_bytes 836 KB 836 KB +0.0%
t5 (seq2seq) num_nodes 166 166 +0.0%
whisper (speech-to-text) model_size_bytes 1008 KB 1008 KB +0.0%
whisper (speech-to-text) num_nodes 128 128 +0.0%

No performance regressions.

@codecov

codecov Bot commented Apr 23, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Consolidates Mobius CLI documentation into a single canonical reference page and updates existing docs/README to link to it, reducing duplication and missing-flag drift across documentation.

Changes:

  • Added a comprehensive CLI reference at docs/cli_reference.md covering subcommands and flags.
  • Removed the older docs/cli.md page and updated the docs toctree to point to the new reference.
  • Simplified CLI sections in docs/getting-started.md, docs/ep_quickstart.md, and README.md to quick examples + links.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
docs/index.md Updates the docs toctree entry from cli to cli_reference.
docs/getting-started.md Replaces the long CLI section with a short quick start and link to the full reference.
docs/ep_quickstart.md Adds a cross-reference to the full CLI reference for --ep options.
docs/cli_reference.md New consolidated CLI reference for build, build-gguf, list, and info, including flags.
docs/cli.md Removes the superseded CLI page.
README.md Simplifies CLI examples and updates the docs site link to cli_reference.html.

Comment thread docs/cli_reference.md Outdated
Comment thread docs/cli_reference.md Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com>
@justinchuby
justinchuby merged commit 95099bf into main Apr 23, 2026
12 of 13 checks passed
@justinchuby
justinchuby deleted the justinchu/cli-docs-consolidate branch April 23, 2026 20:50
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.

2 participants