clap/tests/builder
Omer Tuchfeld 29d9e8844f fix(assert): Prevent arguments from requiring self
It's non-sensical for an argument to require itself, so it must be a
mistake, and should be prevented.

This is arguably a breaking change, but of the spacebar heating kind.

Signed-off-by: Omer Tuchfeld <omer@tuchfeld.dev>
2024-12-03 20:02:45 +01:00
..
action.rs docs: Prefer get_flag over get_one::<bool> 2023-01-23 09:23:38 -06:00
app_settings.rs chore: Update from template 2024-05-14 12:27:02 -05:00
arg_aliases.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
arg_aliases_short.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
arg_matches.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
borrowed.rs docs: Update App references to Command 2022-02-14 15:33:49 -06:00
cargo.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
command.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
conflicts.rs fix(parser): Allow exclusive to override required_* 2024-06-06 15:01:04 -05:00
default_missing_vals.rs fix(assert): Allow stateful value parsers 2023-07-18 14:11:56 -05:00
default_vals.rs fix(assert): Allow stateful value parsers 2023-07-18 14:11:56 -05:00
delimiters.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
derive_order.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
display_order.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
double_require.rs chore: Inline format args using clippy fix 2023-05-03 21:49:11 -04:00
empty_values.rs chore: Update from template 2024-05-14 12:27:02 -05:00
env.rs test(parser): Verify value_source 2022-11-29 20:26:37 -06:00
error.rs chore: Upgrade snapbox 2024-05-24 10:13:50 -05:00
flag_subcommands.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
flags.rs fix(error): Change from neutral 'note' to helpful 'tip' 2023-03-27 20:45:11 -05:00
global_args.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
groups.rs chore: Update from template 2024-05-14 12:27:02 -05:00
help.rs fix(help): Properly wrap subcommand about 2024-07-31 16:17:40 -05:00
help_env.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
hidden_args.rs fix(help): Fix --help help text in edge case (#4710) 2023-02-15 10:25:19 -06:00
ignore_errors.rs fix(parser): Fill in defaults on ignored error 2024-11-12 21:09:55 -06:00
indices.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
main.rs chore: Update from template 2024-05-14 12:27:02 -05:00
multiple_occurrences.rs style: Make clippy happy 2023-10-12 08:32:59 -05:00
multiple_values.rs fix(parser): Report correct num_args on too-few 2024-06-10 09:16:53 -05:00
occurrences.rs chore: Update from template 2024-05-14 12:27:02 -05:00
opts.rs chore: Update from template 2024-05-14 12:27:02 -05:00
positionals.rs chore: Upgrade snapbox 2024-05-24 10:13:50 -05:00
posix_compatible.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
possible_values.rs chore: Update from template 2024-05-14 12:27:02 -05:00
propagate_globals.rs feat: Allow deferred initialization of subcommands 2023-06-09 08:29:38 -05:00
require.rs fix(assert): Prevent arguments from requiring self 2024-12-03 20:02:45 +01:00
subcommands.rs chore: Upgrade snapbox 2024-05-24 10:13:50 -05:00
template_help.rs fix(help): Remove extraneous text from built-ins 2023-01-03 11:02:26 -06:00
tests.rs chore: Upgrade snapbox 2024-05-24 10:13:50 -05:00
unicode.rs docs: Shift focus from takes_value to actions 2022-07-26 14:50:51 -05:00
unique_args.rs style: Make clippy happy 2022-11-24 08:05:21 -06:00
utf8.rs fix(parser): Don't panic on invalid UTF-8 values 2022-11-11 12:26:04 -06:00
utf16.rs fix(parser): Deprecate ArgMatches::is_present 2022-06-10 14:21:25 -05:00
utils.rs chore: Upgrade snapbox 2024-05-24 10:13:50 -05:00
version.rs chore: Update from template 2024-05-14 12:27:02 -05:00