Δημοφιλή: Ενημέρωση δεδομένων: 13 Νοεμβρίου 2026

Κατηγορίες

Διαδίκτυο1.412
Επικοινωνία327
Ήχος και βίντεο934
Γραφικά και σχεδίαση563
Γραφείο και παραγωγικότητα1.172
Εργαλεία προγραμματισμού3.272
Εργαλεία AI599
Ασφάλεια και απόρρητο407
Εργαλεία συστήματος3.179
Παιχνίδια543
Εκπαίδευση και επιστήμη240
Δίκτυα και IT292

Λήψη usage 7.1.0

A specification for CLIs

Αυτή είναι παλαιότερη έκδοση. Η τελευταία έκδοση είναι η 7.1.5. usage 7.1.5 · Κυκλοφορία:

Αρχεία εγκατάστασης 7.1.0

ΑρχιτεκτονικήΤύποςΕμβέλειαΜέγεθος αρχείουΛήψηSHA256
64-bit ZIP → Φορητό — — github.com VirusTotal
ARM64 ZIP → Φορητό — — github.com VirusTotal

Ο σύνδεσμος και το SHA256 προέρχονται από το κοινοτικό manifest του Windows Package Manager. Συγκρίνετε το hash του ληφθέντος αρχείου πριν το εκτελέσετε.

Σημειώσεις έκδοσης

This release adds usage-spec-effect, a new npm package that turns Effect v4 effect/cli command trees into usage specs. It also fixes bash completions from usage-argv, which could pass the command a different value than the one offered when a candidate contained quotes, spaces or other shell syntax.
Added
- (spec) usage-spec-effect exports a usage spec from an Effect v4 effect/cli command tree (#1564, @jdx). Effect still parses and runs the CLI, and the spec drives shell completions, markdown docs and man pages. It requires effect 4.x.
npm install usage-spec-effect
import { generate } from "usage-spec-effect";
if (process.argv.includes("--usage-spec")) {
process.stdout.write(generate(app, { version: "1.0.0" }));
process.exit(0);
}
mycli --usage-spec | usage generate completion bash mycli --file -
The exporter handles nested subcommands, aliases, unlisted commands, examples, shared flags (exported as global), flag aliases, boolean and valued flags, choices, defaults, and optional and variadic args. Some constructs can only be exported approximately: orElse alternatives, file, redacted and key-value types (exported as strings), non-primitive defaults, and flags with an optional value. generateWithReport returns these in an unsupported list so they aren't dropped without notice. Effect's public Command type doesn't expose flags or arguments, so the exporter reads the command's runtime config. If a future Effect release changes that shape, generate throws an error that names the command. See the Effect integration guide.

Fixed
- (bash) usage-argv and usage-dynamic now escape bash completion candidates so the command gets the value that was offered (#1566, @jdx). Before this fix, Readline put candidates on the line unescaped, so a candidate like tasks."hello.sh" reached the command as tasks.hello.sh, and it's here left an unclosed quote on the line. Candidates are now backslash-escaped. When a quote is already open in the word (', " or $'), each candidate is escaped for that quote style instead. Path completions still use Readline's own filename quoting, and zsh and fish were already correct. Hosts handling __complete_word__ should call render_request(&answer, &request) instead of render(&answer, shell) so the open-quote state is used. App::completion_request in usage-dynamic already does this. The script-based bash completions behind usage complete-word are unchanged, since compgen -W can't carry spaces or quotes in candidates.

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

Τα πιο δημοφιλή: Τερματικά και γραμμή εντολών

Όλα
  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

Όλα

Ετικέτες

Κοινοποίηση