這是舊版本,目前最新版本為7.5.0。 usage 7.5.0 · 發行日期:
安裝檔 7.1.3
| 架構 | 類型 | 安裝範圍 | 檔案大小 | 下載 | SHA256 |
|---|---|---|---|---|---|
| 64位元 | ZIP → 免安裝版 | — | — | github.com | VirusTotal |
| ARM64 | ZIP → 免安裝版 | — | — | github.com | VirusTotal |
下載連結與SHA256取自Windows套件管理員(winget)的社群資訊清單。執行前請先核對下載檔案的雜湊值。
更新紀錄
Fixed
- (cli) CLIs that group subcommands with help_heading can now put the default Commands: section after their named sections (#1583, @jdx). Each section is placed according to the lowest display_order among its commands. A command without a display_order counts as 999, so the built-in help never moves its section forward. Sections with the same value keep their current order. usage-argv runtime help and the usage-lib reference renderer both follow this rule.
enum Cmds {
#[usage(display_order = 99)]
Completion(NoArgs),
#[usage(help_heading = "Source", display_order = 1)]
Fmt(NoArgs),
#[usage(help_heading = "Dependencies", display_order = 2)]
Fetch(NoArgs),
}
Help used to list Commands: (completion, help), then Source:, then Dependencies:. It now lists Source:, Dependencies:, then Commands:.
If none of your commands set display_order, help looks the same as before. If you set display_order on grouped commands but not on ungrouped ones, the ungrouped section now appears last.
💚 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.