Docs.rs
clap-4.4.11
clap 4.4.11
Docs.rs crate page
MIT OR Apache-2.0
Links
Repository
crates.io
Source
Owners
kbknapp
github:clap-rs:admins
github:rust-cli:maintainers
Dependencies
clap_builder =4.4.11
normal
clap_derive =4.4.7
normal
humantime ^2.1.0
dev
rustversion ^1.0.14
dev
shlex ^1.2.0
dev
snapbox ^0.4.14
dev
trybuild ^1.0.85
dev
trycmd ^0.14.19
dev
Versions
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
☰
clap
4.4.11
Module _tutorial
Modules
In crate clap
?
Module
clap
::
_tutorial
source
·
[
−
]
Available on
crate feature
unstable-doc
only.
Expand description
Documentation: Builder Tutorial
Quick Start
Configuring the Parser
Adding Arguments
Positionals
Options
Flags
Subcommands
Defaults
Validation
Enumerated values
Validated values
Argument Relations
Custom Validation
Testing
Next Steps
Modules
chapter_0
Quick Start
chapter_1
Configuring the Parser
chapter_2
Adding Arguments
chapter_3
Validation
chapter_4
Testing
chapter_5
Next Steps