Populärt: Data uppdaterade 27 oktober 2026

Kategorier

Internet1 356
Kommunikation321
Ljud och video898
Grafik och design539
Kontor och produktivitet1 124
Utvecklarverktyg3 134
AI-verktyg529
Säkerhet och integritet385
Systemverktyg3 114
Spel523
Utbildning och vetenskap239
Nätverk och IT284

Ladda ner usage 6.8.0

A specification for CLIs

Det här är en äldre version. Den senaste versionen är 7.0.1. usage 7.0.1 · Släppt:

Installationsfiler 6.8.0

ArkitekturTypOmfattningFilstorlekLadda nerSHA256
64-bitars ZIP → Portabel — — github.com VirusTotal
ARM64 ZIP → Portabel — — github.com VirusTotal

Länken och SHA256 kommer från communitymanifestet i Windows Package Manager. Jämför hashen för den nedladdade filen innan du kör den.

Versionsinformation

This release gives the usage CLI native shell completions (including PowerShell), adds a configurable link extension for Markdown docs, and fixes a batch of synopsis and Markdown rendering issues across docs and man pages.
Added
- (cli) Native shell completions (#1388, @jdx). usage --completions <shell> now emits native scripts that call the installed binary's compiled completion handler instead of caching a spec and relying on the bash-completion helpers. Bash, Zsh, Fish, and a new PowerShell script are all supported, and scripts use command usage so a shell function or alias can no longer shadow the executable. All four scripts are published alongside the CLI spec as signed Packslip resources. General usage generate completion behavior is unchanged.
- (docs) Configurable Markdown link extension (#1394, @jdx). Generated Markdown links previously always ended in .md, forcing consumers who serve HTML or extensionless pages to rewrite links after generation. A new --link-extension flag (and MarkdownRenderer::with_link_extension, default .md) controls the suffix on command and configuration links without changing output filenames:
usage generate markdown --file mycli.usage.kdl --link-extension .html
Custom templates now also receive link_extension and config_link in their context.

Fixed
- (docs) Render optional subcommands and mount synopses (#1393, @jdx). Generated synopses showed <SUBCOMMAND> even when a command could run without one; the shared usage string now honors subcommand_required (using [SUBCOMMAND] when optional) and custom placeholder names, keeping terminal help, Markdown, man pages, JSON, and SDK docs consistent. Unresolved mounts can also declare a display-only synopsis (for example mount run="mycli tasks --usage" synopsis="[TASK] [ARGS]…") to document dynamic arguments without running discovery; parsing and completion are unchanged.
- (docs) Preserve Markdown code blocks and headings (#1392, @jdx). Indented help text was converted to code fences by stripping four spaces from every matching line, which could corrupt nested lists and existing fenced examples. Markdown code-block boundaries are now parsed so only real indented code blocks are converted, fences are chosen longer than any embedded backtick runs, and HTML escaping recognizes longer fences. Hidden subcommands are now filtered out before the Subcommands heading, and the duplicate synopsis line was removed from the multipage index.
- (manpage) Render mount synopses and custom command names (#1395, @jdx). Completes the man-page side of the synopsis fixes above. The man-page renderer now carries declarative mount synopses and custom subcommand names into its own synopsis (instead of hard-coded <COMMAND>/[COMMAND]), includes mount fragments in root and subcommand synopses without running discovery, and emits a detail section for a command whose only documentation is a mount synopsis.

Changed
- (docs) Refreshed guides, navigation, and landing page (#1391, @jdx). A new getting-started guide walks from install through KDL, lint/explain, docs/man, completions, and diff. Navigation is reorganized into guides, framework docs, and references with route-specific sidebars; the landing page is simplified with clearer starting points for Rust apps, existing CLIs, and scripts. Installation commands, Rust and SDK examples, and completion setup were corrected, Go is now labeled a development preview, and broken links across all 171 Markdown files were fixed.

💚 Sponsor usage
usage is built and maintained by @jdx, an open source developer at entire.io, the title sponsor of his open source work.
If usage powers CLI specs, docs, or completions for a tool you maintain or use, please consider becoming an individual or company sponsor. Your support funds ongoing development and helps keep usage fast, free, and independent.

https://github.com/jdx/usage/releases/tag/v6.8.0

Populärast i Terminaler och CLI-verktyg

Visa alla
  1. PowerShellTerminaler och CLI-verktyg · Microsoft Corporation
  2. QPDFTerminaler och CLI-verktyg · QPDF
  3. Oh My PoshTerminaler och CLI-verktyg · Jan De Dobbeleer
  4. Microsoft Azure CLITerminaler och CLI-verktyg · Microsoft Corporation
  5. yqTerminaler och CLI-verktyg · Mike Farah
  6. AlacrittyTerminaler och CLI-verktyg · Alacritty
  7. fzfTerminaler och CLI-verktyg · Junegunn Choi
  8. PuTTYTerminaler och CLI-verktyg · Simon Tatham
  9. cURLTerminaler och CLI-verktyg · curl
  10. TabbyTerminaler och CLI-verktyg · Tabby Developers

Mer från jdx

Visa alla

Taggar

Dela