ยอดนิยม: อัปเดตข้อมูลเมื่อ 27 ตุลาคม 2569

หมวดหมู่

อินเทอร์เน็ต1,356
การสื่อสาร321
เสียงและวิดีโอ898
กราฟิกและการออกแบบ539
ออฟฟิศและเพิ่มประสิทธิภาพ1,124
เครื่องมือนักพัฒนา3,134
เครื่องมือ AI529
ความปลอดภัยและความเป็นส่วนตัว385
เครื่องมือระบบ3,114
เกม523
การศึกษาและวิทยาศาสตร์239
เครือข่ายและไอที284

ดาวน์โหลด usage 7.0.0

A specification for CLIs

นี่คือเวอร์ชันเก่า เวอร์ชันล่าสุดคือ 7.0.1 usage 7.0.1 · วันที่เผยแพร่:

ไฟล์ตัวติดตั้ง 7.0.0

สถาปัตยกรรมประเภทขอบเขตขนาดไฟล์ดาวน์โหลดSHA256
64 บิต ZIP → พกพา (Portable) — — github.com VirusTotal
ARM64 ZIP → พกพา (Portable) — — github.com VirusTotal

ลิงก์และค่า SHA256 มาจากแมนิเฟสต์ชุมชนของ Windows Package Manager โปรดเทียบค่าแฮชของไฟล์ที่ดาวน์โหลดก่อนเปิดใช้งาน

บันทึกประจำรุ่น

The derive macros now generate code against usage_rs directly instead of reading your Cargo.toml, usage generate fig has been removed, and the fields on argv metadata types are no longer public API. usage exec now accepts interpreter arguments, and this release also fixes how -- is handled by the shell runners and how multi-line examples are indented in help.
Breaking Changes
All of these come from #1532 (@jdx).
- The derive macros always generate paths through ::usage_rs. In 6.12, usage-derive parsed your Cargo.toml to work out how usage-rs was imported. That put toml and related crates into every downstream build. The macros no longer read the manifest, so toml is out of the dependency tree. If a derive can't find the facade crate, compilation fails with unresolved import usage_rs. To upgrade:
- Depend on usage-rs under its own name: usage-rs = { version = "7" }.
- If you import it under another name, such as usage = { package = "usage-rs", ... }, add #[usage(crate = usage)] to each derive that needs it. The attribute works on Cli, Args, Subcommands, ValueEnum, ArgGroup and Config, and you have to repeat it on every derive.
#[derive(usage::Cli)]
#[usage(crate = usage, bin = "ex")]
struct Ex { /* ... */ }
- If you depend directly on usage-argv, usage-derive, usage-config or usage-validation, also add usage-rs = { version = "7", default-features = false, features = ["spec"] }. Turn on the config or validation features if you use those crates, since they're now reached through usage_rs::config and usage_rs::validation.
- schema_from = T now always generates ::schemars. If you renamed the schemars dependency, change it back to its real name.
- The derives no longer look up workspace-inherited or target-specific dependencies.
- usage generate fig is removed. Fig shut down in 2024. Use usage generate completion <shell> instead.
- Fields on FlagMeta, CommandMeta and ArgMeta in usage-argv are now #[doc(hidden)]. Their struct layout is no longer covered by semver. Use the existing accessor methods instead, for example flag.env_fallback() rather than flag.env_fallback.

Added
- (cli) usage exec takes a quoted interpreter followed by its own arguments, and splits them the way a shell would (#1537, @jdx). Before this, there was no shebang form for interpreters that need flags before the script path, such as Deno's run and its permission flags. Values without whitespace, values that are paths to existing files, and the unquoted form all work as before.
#!/usr/bin/env -S usage exec "deno run --allow-env=usage_*"
//USAGE arg "<name>" help="Name to greet"

Fixed
- (cli) In usage bash, zsh, fish and powershell, words after -- now reach the script as values (#1541, @jdx). Previously, usage bash script.sh positional -- --help printed the script's help with an Error: prefix and exited with status 1. -h and --help still show help when they come before --.
- (cli) In --help output, every line of a multi-line example is now indented (#1548, @jdx). Before, sample output lines after the first started at column 0.

💚 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/v7.0.0

ยอดนิยมใน เทอร์มินัลและเครื่องมือ CLI

ดูทั้งหมด
  1. PowerShellเทอร์มินัลและเครื่องมือ CLI · Microsoft Corporation
  2. QPDFเทอร์มินัลและเครื่องมือ CLI · QPDF
  3. Oh My Poshเทอร์มินัลและเครื่องมือ CLI · Jan De Dobbeleer
  4. Microsoft Azure CLIเทอร์มินัลและเครื่องมือ CLI · Microsoft Corporation
  5. yqเทอร์มินัลและเครื่องมือ CLI · Mike Farah
  6. Alacrittyเทอร์มินัลและเครื่องมือ CLI · Alacritty
  7. fzfเทอร์มินัลและเครื่องมือ CLI · Junegunn Choi
  8. PuTTYเทอร์มินัลและเครื่องมือ CLI · Simon Tatham
  9. cURLเทอร์มินัลและเครื่องมือ CLI · curl
  10. Tabbyเทอร์มินัลและเครื่องมือ CLI · Tabby Developers

โปรแกรมอื่นจาก jdx

ดูทั้งหมด
  • mise-en-placeภาษาโปรแกรมและ SDK · jdx

แท็ก

แชร์