熱門: 資料更新於2026年11月13日

軟體分類

網路軟體1,412
通訊社群327
影音軟體934
繪圖與影像563
辦公軟體1,172
開發工具3,272
AI工具599
安全與隱私407
系統工具3,179
遊戲543
教育與科學240
網路與IT292

usage 7.1.4下載

A specification for CLIs

這是舊版本,目前最新版本為7.1.5。 usage 7.1.5 · 發行日期:

安裝檔 7.1.4

架構類型安裝範圍檔案大小下載SHA256
64位元 ZIP → 免安裝版 — — github.com VirusTotal
ARM64 ZIP → 免安裝版 — — github.com VirusTotal

下載連結與SHA256取自Windows套件管理員(winget)的社群資訊清單。執行前請先核對下載檔案的雜湊值。

更新紀錄

Fixed
- (lib) A mount run= that gets its spec from another usage-shebang script now works even when the environment holds a value that one of that script's env-bound flags rejects (#1591, @jdx). For example, if the child declares flag "--mode <m>" env="X_MODE" { choices "a" "b" }, then X_MODE=zzz ./parent sub used to fail with Invalid choice for option mode: zzz (exit 181), and completion failed the same way. When usage runs the script itself and the parse fails, it now drops the env values the spec rejects and keeps the valid ones. If the parse still fails, the original error is reported. Running the script directly still reports invalid env values, and a bad value typed on the command line is still an error.
When a mount does fail, the error now names the command being resolved:
could not read the commands mounted under `sub`: exited with code 1
sh -c ./child2
This message comes from usage-lib, so CLIs built on it show the same wording. Script exit codes have not changed, and they are now documented in docs/cli/scripts.md: the script's own code when it runs, 1 when the command line doesn't satisfy the spec, and 181 when usage can't read or run something the spec depends on, such as an invalid spec or a failing mount.
- (cli) The Cobra integration now quotes flag defaults that KDL would otherwise read as non-strings (#1595, @jdx). Before this fix, a Bool flag defaulting to true or an Int flag defaulting to -1 produced default=true or default=-1, and usage lint rejected the spec. Defaults such as true, false, null, inf, -inf, nan, signed numbers (-1, +1, -0.5) and values containing [ or ] are now written as quoted strings. Plain values such as json are still written without quotes.

https://github.com/jdx/usage/releases/tag/v7.1.4

終端機與命令列熱門排行

查看全部
  1. PowerShell終端機與命令列 · Microsoft Corporation
  2. QPDF終端機與命令列 · QPDF
  3. Oh My Posh終端機與命令列 · Jan De Dobbeleer
  4. Microsoft Azure CLI終端機與命令列 · Microsoft Corporation
  5. yq終端機與命令列 · Mike Farah
  6. fzf終端機與命令列 · Junegunn Choi
  7. Alacritty終端機與命令列 · Alacritty
  8. PuTTY終端機與命令列 · Simon Tatham
  9. cURL終端機與命令列 · curl
  10. Tabby終端機與命令列 · Tabby Developers

jdx的其他軟體

查看全部

標籤

分享