microsoft / microsoft/winml-cli
[winml] [P2] Subcommand descriptions in `winml --help` are truncated mid-word
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 40
- Forks
- 11
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 50
Description
Severity: P2
Command: winml
Category: Unicode/Output Rendering — table column widths must respect terminal width without hiding meaning.
Repro:
uv run winml --help
Actual (from the captured 80-column run):
Commands:
analyze Analyze ONNX model for runtime support with live progress.
build Build a WinML-optimized ONNX model from a HuggingFace model
compile Compile ONNX model to EP-specific format.
config Generate WinMLBuildConfig for a HuggingFace model or .onnx f
eval Evaluate model accuracy on a dataset.
expand_rules Expand runtime rules zip files in-place when directories and
export Export HuggingFace model to ONNX format with HTP.
hub Browse ModelKit's curated built-in model catalog.
config is cut off at .onnx f (intended: …or .onnx file). expand_rules is cut off at directories and (intended: …directories and zips coexist). build ends at from a HuggingFace model with no period.
Expected: Either trim each first-line description so it fits in 80 cols without …, or wrap to the next line with continued indent (Click supports both). No mid-word truncation.
Why it matters: The first-line subcommand summary is the single most-read line of help. Truncation here gives users a wrong or incomplete idea of what each subcommand does and undermines the rest of the documentation.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.