mirror of
https://github.com/clap-rs/clap
synced 2024-12-15 07:12:32 +00:00
b7793a2f4d
* feat: adds App::with_defaults to automatically use crate_authors! and crate_version! macros One can now use ```rust let a = App::with_defaults("My Program"); // same as let a2 = App::new("My Program") .version(crate_version!()) .author(crate_authors!()); ``` Closes #600 * imp(YAML Errors): vastly improves error messages when using YAML When errors are made while developing, the panic error messages have been improved instead of relying on the default panic message which is extremely unhelpful. Closes #574 * imp(Completions): uses standard conventions for bash completion files, namely '{bin}.bash-completion' Closes #567 * imp(Help): automatically moves help text to the next line and wraps when term width is determined to be too small, or help text is too long Now `clap` will check if it should automatically place long help messages on the next line after the flag/option. This is determined by checking to see if the space taken by flag/option plus spaces and values doesn't leave enough room for the entirety of the help message, with the single exception of of if the flag/option/spaces/values is less than 25% of the width. Closes #597 * tests: updates help tests to new forced new line rules * fix(Groups): fixes some usage strings that contain both args in groups and ones that conflict with each other Args that conflict *and* are in a group will now only display in the group and not in the usage string itself. Closes #616 * chore: updates dep graph Closes #633 * chore: clippy run * style: changes debug header to match other Rust projects * chore: increase version
41 lines
1.4 KiB
Text
41 lines
1.4 KiB
Text
digraph dependencies {
|
|
N0[label="clap"];
|
|
N1[label="ansi_term"];
|
|
N2[label="bitflags"];
|
|
N3[label="clippy",color=blue];
|
|
N4[label="strsim"];
|
|
N5[label="term_size"];
|
|
N6[label="unicode-segmentation"];
|
|
N7[label="unicode-width"];
|
|
N8[label="vec_map"];
|
|
N9[label="yaml-rust",color=red];
|
|
N10[label="clippy_lints",color=blue];
|
|
N11[label="matches",color=blue];
|
|
N12[label="quine-mc_cluskey",color=blue];
|
|
N13[label="regex-syntax",color=red];
|
|
N14[label="rustc-serialize",color=blue];
|
|
N15[label="semver",color=blue];
|
|
N16[label="toml",color=blue];
|
|
N17[label="unicode-normalization",color=blue];
|
|
N0 -> N1[label="",style=dashed];
|
|
N0 -> N2[label=""];
|
|
N0 -> N3[label="",style=dashed,color=blue];
|
|
N0 -> N4[label="",style=dashed];
|
|
N0 -> N5[label="",style=dashed];
|
|
N0 -> N6[label=""];
|
|
N0 -> N7[label=""];
|
|
N0 -> N8[label=""];
|
|
N0 -> N9[label="",style=dashed,color=red];
|
|
N3 -> N10[label="",style=dashed,color=blue];
|
|
N5 -> N3[label="",style=dashed,color=blue];
|
|
N9 -> N3[label="",style=dashed,color=blue];
|
|
N9 -> N13[label="",style=dashed,color=red];
|
|
N10 -> N11[label="",style=dashed,color=blue];
|
|
N10 -> N12[label="",style=dashed,color=blue];
|
|
N10 -> N13[label="",style=dashed,color=blue];
|
|
N10 -> N14[label="",style=dashed,color=blue];
|
|
N10 -> N15[label="",style=dashed,color=blue];
|
|
N10 -> N16[label="",style=dashed,color=blue];
|
|
N10 -> N17[label="",style=dashed,color=blue];
|
|
N16 -> N14[label="",style=dashed,color=blue];
|
|
}
|