Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
C

clap

> 编程语言
Open source

A full featured, fast Command Line Argument Parser for Rust

16.6K stars0 likes2 views
WebsiteGitHub

About

A full featured, fast Command Line Argument Parser for Rust

clap

Command Line Argument Parser for Rust Dual-licensed under Apache 2.0 or MIT.

Get Started

bash
$ cargo add clap

About

Create your command-line parser, with all of the bells and whistles, declaratively or procedurally.

For more details, see:

  • docs.rs
  • examples

Sponsors

Gold

Silver

Bronze

Backer

Issues· 451 open

View all issuesOpen on GitHub
  • #4824

    Dependency Dashboard

    Updated Oct 1, 2026
  • #6386

    Completions for subcommand not working after second or third subcommand

    C-bugA-completionS-triageUpdated Sep 29, 2026
  • #6537

    bash: filename completion splits paths with spaces unless ValueHint::FilePath

    C-bugS-triageUpdated Sep 27, 2026
  • #6096

    Detailed help for ValueEnum variants

    C-bugM-breaking-changeA-helpE-easyUpdated Sep 26, 2026
  • #6471

    Error::render() doc example teaches a color-stripping path — println!("{err}") is always plain

    C-enhancementA-docsS-waiting-on-designUpdated Sep 22, 2026
  • #6371

    Dynamic completion sort order is not correct

    C-bugA-completionS-waiting-on-designUpdated Sep 22, 2026
  • #6168

    Re-evaluate shells included by default

    M-breaking-changeA-completionUpdated Sep 22, 2026
  • #5839

    Support default field values

    C-enhancementE-mediumA-deriveUpdated Sep 22, 2026
  • #6529

    Completion fails past the first argument when the binary name contains a hyphen

    C-bugS-triageUpdated Sep 20, 2026
  • #6511

    Underscores in numeric literal args matching Rust source code behavior

    C-enhancementS-waiting-on-decisionA-parsingA-validatorsUpdated Sep 20, 2026

> Tags

Rustargument-parserargument-parsingcommand-linecommand-line-parser

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedOct 1, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言