Skip to content

Conversation

@dphuang2
Copy link
Collaborator

@dphuang2 dphuang2 commented Dec 16, 2025

Note

Adds a hidden export-docs command to generate CLI reference markdown and refactors the CLI parser with improved help text and subparser handling.

  • CLI:
    • Parser Refactor: Introduces build_parser() and _configure_parser(); parse_args() now uses the built parser.
    • Help Improvements: Expanded, clearer help for create rft options (training, inference, W&B, etc.).
    • Hidden Command: Adds export-docs subcommand with --output to generate CLI docs; updates main() to dispatch it.
    • Subparser UX: _hide_suppressed_subparsers() hides suppressed commands from help output.
  • Docs Generation:
    • Adds eval_protocol/cli_commands/export_docs.py to introspect the argparse tree and emit a single Markdown reference with Mintlify components, global options, and per-command sections, excluding hidden commands.

Written by Cursor Bugbot for commit cefc461. This will update automatically on new commits. Configure here.

…ction. Introduce a method to hide suppressed commands from help output and ensure accurate help text is included for subparsers.
@dphuang2 dphuang2 merged commit 29afd31 into main Dec 16, 2025
17 checks passed
@dphuang2 dphuang2 deleted the dhuang/dxe-438-generate-cli-reference-for-evalprotocolio branch December 16, 2025 06:51
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