No description
Find a file
Ed Page c9eef44213 fix: Make arg!(--flag <value>) optional by default
This was ported over from the usage parser which modeled after docopt.
We just never got around to implementing the rest of the syntax.

However, when considering this as a standalone feature, an
`arg!(--flag <value>)`, outside of other context, should be optional.
This is how the help would display it.

Fixes #4206
2022-09-12 17:10:01 -05:00
.github chore: Set permissions 2022-08-28 01:50:11 +03:00
assets docs: Add back in logo 2021-12-07 17:45:57 -06:00
clap_bench fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
clap_complete fix: Tests/clippy/errors bash dynamic completion 2022-09-07 20:25:06 -05:00
clap_complete_fig fix: Deprecate Command::trailing_var_arg 2022-09-06 19:41:17 -05:00
clap_derive revert(derive): Bald action/value_parser are deprecated, its good enough 2022-09-07 19:34:50 -05:00
clap_lex fix: Switch to owned types 2022-08-22 14:55:55 -05:00
clap_mangen fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
examples fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
src fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
tests fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
.clippy.toml chore: Bump MSRV to 1.60.0 2022-08-10 21:32:06 -05:00
.gitignore chore: Allow testing MSRV 2022-07-19 13:50:27 -05:00
.pre-commit-config.yaml chore: Upgrade boilerplate 2022-02-15 12:36:19 -06:00
Cargo.lock chore: Update dependencies 2022-09-01 07:09:32 -05:00
Cargo.toml chore: Update dependencies 2022-09-01 07:09:32 -05:00
CHANGELOG.md fix: Make arg!(--flag <value>) optional by default 2022-09-12 17:10:01 -05:00
committed.toml chore: Align on boilerplate 2021-11-17 15:24:50 -06:00
CONTRIBUTING.md docs: Specify that we will support prior major versions 2022-09-07 19:12:01 -05:00
LICENSE-APACHE chore: relicense under MIT and APACHE 2.0 2018-07-23 14:25:18 -04:00
LICENSE-MIT docs(license): Update years/holders 2022-06-27 12:55:09 -05:00
Makefile fix: Tests/clippy/errors bash dynamic completion 2022-09-07 20:25:06 -05:00
README.md chore: Update release process 2022-07-19 14:41:42 -05:00
release.toml chore: Allow releasing from release branches 2022-07-25 13:31:25 -05:00
typos.toml docs: Fix typos 2021-11-17 15:21:58 -06:00

clap

Command Line Argument Parser for Rust

Crates.io Crates.io License License Build Status Coverage Status Contributors

Dual-licensed under Apache 2.0 or MIT.

About

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

For more details, see:

Sponsors

Gold

Silver

Bronze

Backer