Vinsælt: Gögn uppfærð 27. október 2026

Flokkar

Internet1.356
Samskipti321
Hljóð og mynd898
Grafík og hönnun539
Skrifstofa og afköst1.124
Forritunartól3.134
Gervigreindartól529
Öryggi og persónuvernd385
Kerfistól3.114
Leikir523
Menntun og vísindi239
Net og upplýsingatækni284

Sækja usage 6.9.1

A specification for CLIs

Þetta er eldri útgáfa. Nýjasta útgáfan er 7.0.1. usage 7.0.1 · Gefið út:

Uppsetningarskrár 6.9.1

HögunGerðUmfangSkráarstærðSækjaSHA256
64 bita ZIP → Ferðaútgáfa — — github.com VirusTotal
ARM64 ZIP → Ferðaútgáfa — — github.com VirusTotal

Tengillinn og SHA256-gildið koma úr samfélagslýsingu Windows-pakkastjórans (winget). Berið gildi sóttu skrárinnar saman við það áður en hún er keyrð.

Útgáfuupplýsingar

A default-only flag now commits the rest of the line to the default subcommand even when a later word spells a sibling command, and the KDL parser scans strings in chunks so large generated specs load several times faster. The Go modules now require Go 1.26.
Fixed
- (parse) Keep the implicit default after a default-only flag (#1418, @lu-zero). With default_subcommand_flags, the lookahead cancelled default routing whenever any later word matched a sibling command or alias, so em -u pkg failed with UnknownFlag -u just because pkg is also a command. Once a default-only flag has been seen, later words are now the default command's arguments: em -u query parses as em install -u query, as do em -X foo query, em -pu query, and --output query search. A sibling name before any default-only flag still selects it (em query, em -p query), and parent-only flags, --help, and bare invocations stay on the parent. Applied consistently to the Rust library, usage-argv, and the Go runtime; fixes #1417.

Changed
- (parse) Faster KDL parsing for large specs (#1426, @jdx). Identifier, quoted-string, and raw-string runs are scanned as contiguous slices instead of one Unicode scalar at a time, with escapes, delimiters, newlines, and dedent handling preserved at the boundaries. Parsing the checked-in mise spec drops from 66.9 ms to 16.2 ms in an optimized build, and from roughly 800 ms to 250 ms in a debug build of mise's 321 KB generated spec. Parsed output is unchanged; a regression test covers embedded quotes in multiline raw strings.
- (go) The github.com/jdx/usage/go and integrations/cobra modules now declare go 1.26.0 (#1421, @sahidvelji). Projects importing the Go runtime or the Cobra integration need Go 1.26 or newer; expr-lang/expr is now listed as a direct dependency of the runtime module. No behavior changes.
- (go) usage generate go emits type X struct{} for a command with no flags, arguments, or subcommands instead of an empty two-line struct body, matching gofumpt output (#1425, @sahidvelji). Regenerating existing code will show this whitespace-only diff.

New Contributors
- @sahidvelji made their first contribution in #1421

💚 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.9.1

Vinsælast í flokknum Skjáhermar og skipanalínutól

Sjá allt
  1. PowerShellSkjáhermar og skipanalínutól · Microsoft Corporation
  2. QPDFSkjáhermar og skipanalínutól · QPDF
  3. Oh My PoshSkjáhermar og skipanalínutól · Jan De Dobbeleer
  4. Microsoft Azure CLISkjáhermar og skipanalínutól · Microsoft Corporation
  5. yqSkjáhermar og skipanalínutól · Mike Farah
  6. AlacrittySkjáhermar og skipanalínutól · Alacritty
  7. fzfSkjáhermar og skipanalínutól · Junegunn Choi
  8. PuTTYSkjáhermar og skipanalínutól · Simon Tatham
  9. cURLSkjáhermar og skipanalínutól · curl
  10. TabbySkjáhermar og skipanalínutól · Tabby Developers

Meira frá jdx

Sjá allt

Merki

Deila