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

Κατηγορίες

Διαδίκτυο1.412
Επικοινωνία327
Ήχος και βίντεο934
Γραφικά και σχεδίαση563
Γραφείο και παραγωγικότητα1.172
Εργαλεία προγραμματισμού3.272
Εργαλεία AI599
Ασφάλεια και απόρρητο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-bit ZIP → Φορητό — — github.com VirusTotal
ARM64 ZIP → Φορητό — — github.com VirusTotal

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

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

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

Όλα

Ετικέτες

Κοινοποίηση