fix(cli): wrap angle-bracket placeholders in backticks in help text

Bare `<slug>` and `<run-id>:<path>` in clap help text generate doc
table cells where MDX parses the placeholders as JSX tags and fails
the Mintlify build. Wrap them in backticks so the generated table
cells route them through inline code spans where MDX leaves them
alone.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Bryan Helmkamp 2026-05-06 07:38:32 -04:00
parent 9b7c1907eb
commit 258e46e954
No known key found for this signature in database

View file

@ -497,9 +497,9 @@ pub(crate) struct CpArgs {
#[command(flatten)]
pub(crate) server: ServerTargetArgs,
/// Source: <run-id>:<path> or local path
/// Source: `<run-id>:<path>` or local path
pub(crate) src: String,
/// Destination: <run-id>:<path> or local path
/// Destination: `<run-id>:<path>` or local path
pub(crate) dst: String,
/// Recurse into directories
#[arg(short, long)]
@ -1462,7 +1462,7 @@ pub(crate) struct InstallGithubArgs {
#[arg(long)]
pub(crate) strategy: Option<InstallGitHubStrategyArg>,
/// GitHub App owner: 'personal' or 'org:<slug>' (app only, requires
/// GitHub App owner: `personal` or `org:<slug>` (app only, requires
/// --non-interactive)
#[arg(long)]
pub(crate) owner: Option<String>,