مشهور: معلومات په AP ۱۴۰۵ لړم ۳۰ تازه شول

کټګورۍ

انټرنېټ۱٬۴۲۱
اړیکې۳۲۹
غږ او ویډیو۹۳۸
ګرافیک او ډیزاین۵۶۶
دفتري او تولیدي۱٬۱۸۴
د پراختیا وسایل۳٬۲۸۸
د AI وسایل۶۱۰
امنیت او محرمیت۴۰۸
د سیستم وسایل۳٬۱۹۴
لوبې۵۴۵
زده کړه او ساینس۲۴۲
شبکه او IT۲۹۴

usage 7.3.0 ډاونلوډ

A specification for CLIs

دا یوه زړه نسخه ده. اوسنۍ نسخه 7.4.0 ده. usage 7.4.0 · د خپرېدو نېټه:

د نصب فایلونه 7.3.0

جوړښتډولد نصب ساحهد فایل اندازهډاونلوډSHA256
64-bit ZIP → پورټېبل — — github.com VirusTotal
ARM64 ZIP → پورټېبل — — github.com VirusTotal

لینک او SHA256 د Windows Package Manager د ټولنې له مانیفسټ څخه اخیستل شوي. د ډاونلوډ شوي فایل له چلولو مخکې یې هش پرتله کړئ.

د خپرونې یادښتونه

Added
- (lib) New usage_rs::completion::Completion subcommand, available with the completions feature (#1624, @jdx). Until now each tool wrote its own completion command: some had --install, while others printed a script for the user to redirect by hand. You can now mount the shared command instead:
use usage_rs::completion::Completion;
#[derive(Subcommands)]
enum Commands {
/// Generate shell completions
Completion(Completion),
}
// in the run function:
completion.run("ex", &mut std::io::stdout())?;
Any tool that mounts it gets these commands:
ex completion fish # print the script, e.g. `ex completion fish | source`
ex completion fish --install # write it where fish looks for it
ex completion fish --install --force # also replace a file usage did not generate
- Shells: bash, elvish, fish, nu/nushell, powershell/pwsh and zsh are accepted. Any other shell name fails to parse.
- Flags: --force requires --install.
- Scripts: The scripts are the short callback scripts. They contain no spec and don't need the usage binary. On every Tab they ask the installed tool for candidates, so they stay correct when the tool is upgraded.
- Installing: --install never edits a startup file. If a shell needs a line added once, the command prints that line after the install path.
- Errors: Completion::run returns Error::Install or Error::Output. A closed pipe (for example ex completion zsh | head) is not treated as an error.
- Testing: Completion::run_in takes an explicit Env, so tests can install without touching the real home directory.
The Rust completions guide (docs/rust/completions.md) now uses Completion in place of the hand-written example.

💚 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.3.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. fzfټرمینلونه او CLI وسایل · Junegunn Choi
  7. Alacrittyټرمینلونه او CLI وسایل · Alacritty
  8. PuTTYټرمینلونه او CLI وسایل · Simon Tatham
  9. cURLټرمینلونه او CLI وسایل · curl
  10. Tabbyټرمینلونه او CLI وسایل · Tabby Developers

د jdx نور پروګرامونه

ټول وګورئ

ټګونه

شریکول