dalance
35c3814419
Add PathBuf to clap_generate::generate_to
2021-04-06 11:18:41 +09:00
Pavan Kumar Sunkara
8b721a2bcd
Merge pull request #2433 from pickfire/patch-2
...
Show default derive example with coloredhelp
2021-04-04 13:38:58 +05:30
Ivan Tham
ac8a9582f9
Show default derive example with coloredhelp
2021-04-04 12:08:57 +08:00
Pavan Kumar Sunkara
d3b6c1b3f9
Update github workflow for site
2021-04-04 00:40:28 +01:00
Pavan Kumar Sunkara
a0314f16b9
Merge pull request #2430 from nickzana/fix-default-value-example-typo
...
Fix minor typos in 10_default_values.rs
2021-04-02 04:37:39 +05:30
Nick Zana
a637d96d82
Fix minor typos in 10_default_values.rs
2021-04-01 17:41:17 -04:00
Pavan Kumar Sunkara
52814b893c
Merge pull request #2415 from cbzehner/ignore-extra-fields-on-arg
...
Ignore extra fields in Arg yaml definitions
2021-03-14 14:00:30 +05:30
Pavan Kumar Sunkara
4e3b4589ee
Merge pull request #2411 from clap-rs/upgrader
...
Cleanup and add changelog
2021-03-14 14:00:16 +05:30
Chris Zehner
407e629523
Ignore extra fields in Arg yaml definitions
2021-03-13 19:46:38 -06:00
Pavan Kumar Sunkara
dd352be191
Merge pull request #2412 from clap-rs/docs
...
Apply cargo-intraconv
2021-03-13 18:11:52 +05:30
Pavan Kumar Sunkara
d9fb11eba2
Apply cargo-intraconv
2021-03-13 14:11:47 +05:30
Pavan Kumar Sunkara
b69c192ab4
Update changelog and implement more stuff for the upgrader
2021-03-13 14:03:15 +05:30
Pavan Kumar Sunkara
f029047c03
Rename NoEmptyValues to ForbidEmptyValues
2021-03-13 12:05:34 +05:30
Pavan Kumar Sunkara
49954c28ad
Remove unstable feature flag
2021-03-13 11:40:56 +05:30
Pavan Kumar Sunkara
7442de7d9a
Merge pull request #2407 from logansquirel/master
...
api: Add clap_generate::Shell enum
2021-03-11 21:24:30 +05:30
Logan SQUIREL
d30a00e518
Make clap_generate::shell mod private
2021-03-11 11:13:31 +01:00
Logan SQUIREL
66f100f533
Improve clap_generate::Shell implementations
2021-03-11 10:56:44 +01:00
Logan SQUIREL
6a4cc8f9dd
api: Add clap_generate::Shell enum
2021-03-11 10:56:44 +01:00
Pavan Kumar Sunkara
5618ec39e5
Merge pull request #2360 from ldm0/allow_empty
...
Allow empty value by default, introduce NoEquals Error
2021-03-11 14:44:41 +05:30
ldm0
d36b201fd6
Apply suggestions
2021-03-11 05:22:08 +00:00
Pavan Kumar Sunkara
2952fd6d73
Merge pull request #2406 from omar25h/fix-subcmd
...
fix: subcommand with field name subcmd compilation
2021-03-11 01:41:53 +05:30
Omar El Halabi
777e0f43cb
fix: subcommand with field name subcmd compilation
2021-03-10 19:49:41 +02:00
ldm0
a1d4bd8488
Allow empty value by default, introduce NoEquals Error
2021-03-10 17:39:50 +00:00
Pavan Kumar Sunkara
30d784ffd1
Merge pull request #2400 from ldm0/unset-default
...
Support unsetting/removing the default if an option/flag is set
2021-03-10 18:13:52 +05:30
Pavan Kumar Sunkara
975ceed904
Update CI badge on README
2021-03-10 08:04:16 +05:30
Pavan Kumar Sunkara
ad1adb7807
Merge pull request #2399 from ldm0/allow_empty_values
...
Implement NoEquals error
2021-03-10 04:43:47 +05:30
ldm0
448ff95fb0
ldm0's patch
2021-03-09 19:06:44 +00:00
Steven Engler
766dec8319
fixup! feat(build/arg/mod.rs): default_vals_if supports an Option as the default
2021-03-09 18:15:20 +00:00
Steven Engler
6626365359
feat(build/arg/mod.rs): default_vals_if supports an Option as the default
2021-03-09 18:15:20 +00:00
ldm0
2b0f0d3e1a
Implement NoEquals error
2021-03-09 17:56:57 +00:00
Pavan Kumar Sunkara
42c03775b5
Merge pull request #2395 from loloicci/improve-doc-error-exit
...
Improve the document of exit of parse::Errors
2021-03-09 23:20:04 +05:30
Pavan Kumar Sunkara
d53f192587
Merge pull request #2362 from ldm0/demangle
...
Demangle interlinking flags
2021-03-09 23:19:06 +05:30
loloicci
06c2187f9e
docs: improve the document of exit of parse::Error
2021-03-09 23:37:45 +09:00
ldm0
0b1d137ee9
Apply suggestions
2021-03-09 13:52:12 +00:00
ldm0
6df56ad289
Move checker to macro(better panic message)
2021-03-09 13:45:11 +00:00
ldm0
886b873709
Demangle interlinking flags
2021-03-09 13:45:11 +00:00
ldm0
2bedad2bfa
Split debug_asserts from Arg
2021-03-09 13:45:11 +00:00
Pavan Kumar Sunkara
63612496ca
Merge pull request #2394 from loloicci/feat-print-parse-error
...
feat: implement print to parse::Error
2021-03-09 16:41:47 +05:30
loloicci
0a6f086b8e
feat: implement print to parse::Error
...
Implement print to parse::Error.
It just prints formatted error messages and does not exit program.
2021-03-09 18:27:04 +09:00
Pavan Kumar Sunkara
09009761ec
Merge pull request #2368 from integer32llc/more-getters
...
Allow getting the long about, env, and default values of an argument
2021-03-05 22:53:28 +05:30
Jake Goulding
30840d6f35
Allow getting the long about, env, and default values of an argument
...
Closes #2367
2021-03-05 11:02:18 -05:00
Pavan Kumar Sunkara
b94b9872a5
Merge pull request #2382 from christophprokop/fix-code-example
...
Fix code example to match help text
2021-03-05 15:02:57 +05:30
Christoph Prokop
676a2d24b6
Fix code example to match help text
...
Signed-off-by: Christoph Prokop <christoph.prokop@mailbox.org>
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Reviewed-by: Matthias Beyer <mail@beyermatthias.de>
2021-03-05 10:04:37 +01:00
Pavan Kumar Sunkara
e242cc1c7b
Merge pull request #2374 from dylni/upgrade-os-str-bytes
...
Upgrade os_str_bytes
2021-03-02 02:10:42 +00:00
dylni
8a6881169b
Upgrade os_str_bytes
2021-03-01 17:58:53 -05:00
Pavan Kumar Sunkara
ace23dd197
Merge pull request #2371 from omar25h/required-if-eq-all
...
feat: Implement Arg::required_if_eq_all
2021-02-28 13:50:50 +00:00
Omar El Halabi
701a4610b3
feat: Implement Arg::required_if_eq_all
2021-02-28 14:52:34 +02:00
Pavan Kumar Sunkara
c9e875e036
Merge pull request #2369 from logansquirel/master
...
fix: Compatibility with help2man
2021-02-27 17:19:31 +00:00
Logan SQUIREL
52e74fa305
Fix App::version/long_version test
2021-02-27 16:31:32 +01:00
Logan SQUIREL
3c049b4e22
Fix compatibility with help2man output (see #1432 )
...
Change default help template:
- The new template introduce new lines before and after
author/about sections.
- Add help template placeholders:
- about-section
- author-section
- Documentation of new placeholders in clap::App::help_template
- Update all unit tests by incorporating new lines
2021-02-27 16:20:52 +01:00