clap-rs/clap

GitHub: clap-rs/clap

clap 是一个功能丰富、高性能的 Rust 命令行参数解析库,帮助开发者快速构建专业的 CLI 应用程序。

Stars: 16485 | Forks: 1199

# clap [![Crates.io](https://img.shields.io/crates/v/clap?style=flat-square)](https://crates.io/crates/clap) [![Crates.io](https://img.shields.io/crates/d/clap?style=flat-square)](https://crates.io/crates/clap) [![License](https://img.shields.io/badge/license-Apache%202.0-blue?style=flat-square)](LICENSE-APACHE) [![License](https://img.shields.io/badge/license-MIT-blue?style=flat-square)](LICENSE-MIT) [![Build Status](https://img.shields.io/github/actions/workflow/status/clap-rs/clap/ci.yml?branch=master&style=flat-square)](https://github.com/clap-rs/clap/actions/workflows/ci.yml?query=branch%3Amaster) [![Coverage Status](https://img.shields.io/coveralls/github/clap-rs/clap/master?style=flat-square)](https://coveralls.io/github/clap-rs/clap?branch=master) [![Contributors](https://img.shields.io/github/contributors/clap-rs/clap?style=flat-square)](https://github.com/clap-rs/clap/graphs/contributors) 双重许可,依据 [Apache 2.0](LICENSE-APACHE) 或 [MIT](LICENSE-MIT)。 ## 快速开始 ``` $ cargo add clap ``` ## 关于 以声明式或过程式的方式,创建你的命令行解析器,包含所有花哨的功能。 欲了解更多详情,请参见: - [docs.rs](https://docs.rs/clap/latest/clap/) - [示例](examples/) ### Bronze 赞助商 [![](https://opencollective.com/clap/tiers/bronze.svg?width=890)](https://opencollective.com/clap) ### 支持者 [![](https://opencollective.com/clap/tiers/backer.svg?width=890)](https://opencollective.com/clap)
标签:Rust, 可视化界面, 命令行解析, 开发组件库, 网络流量审计, 通知系统