Pavan Kumar Sunkara
|
423e2dde00
|
Remove version_about in favor of mut_arg
|
2021-02-07 16:14:07 +00:00 |
|
Pavan Kumar Sunkara
|
1bd902370a
|
Add tests for mut_arg on help and version
|
2021-02-07 15:54:24 +00:00 |
|
Pavan Kumar Sunkara
|
93a737a4fa
|
Merge pull request #2333 from clap-rs/build_help_and_version_at_start
Build help and version args at the beginning
|
2021-02-07 15:53:45 +00:00 |
|
Pavan Kumar Sunkara
|
05ab92702d
|
Merge pull request #2297 from ldm0/parser
Parser refactor.
|
2021-02-07 15:11:09 +00:00 |
|
Pavan Kumar Sunkara
|
c9cb22905c
|
Build help and version args at the beginning
|
2021-02-07 14:46:38 +00:00 |
|
ldm0
|
560aa536df
|
Change tests prefix
|
2021-02-07 05:59:29 +00:00 |
|
ldm0
|
899b04f481
|
Remove clone
|
2021-02-07 05:40:02 +00:00 |
|
ldm0
|
1494109795
|
Apply rename suggestions
|
2021-02-07 05:32:35 +00:00 |
|
ldm0
|
fb3033834b
|
Change the way parser do self override
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
58b9f35771
|
Add tests, fix grouped_values_of()
Fix clippy
type complexity fix
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
451c5382cc
|
Finish arg grouping logic
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
b48ccff812
|
Better MatchedArg::ty
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
fdafa3f02a
|
More convenient MatchesArg functions
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
7782a5eefc
|
Insert vals group for default missing vals
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
32e03a0dfe
|
Better flow
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
f1e9b82584
|
Implement nested vals
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
9c52e454e8
|
Refactor MatchedArg::vals
|
2021-02-07 04:46:56 +00:00 |
|
Donough Liu
|
18549df845
|
Refactor MatchedArg::indices
|
2021-02-07 04:46:56 +00:00 |
|
Pavan Kumar Sunkara
|
440cee8ff5
|
Merge pull request #2329 from ldm0/dash
Fix eagerly trimming dash in parse_long_flag
|
2021-02-06 16:50:45 +00:00 |
|
ldm0
|
1000c9fb03
|
Fix eagerly trimming dash in parse_long_flag
|
2021-02-06 11:26:20 +00:00 |
|
Pavan Kumar Sunkara
|
3b59f5d369
|
Merge pull request #2328 from ldm0/parser2
Parsing function clean up
|
2021-02-05 19:10:38 +00:00 |
|
Donough Liu
|
00cf697d36
|
Small simplification on several functions
|
2021-02-05 10:07:46 +00:00 |
|
Donough Liu
|
5e020c636d
|
Remove had_eq
|
2021-02-05 10:07:46 +00:00 |
|
Donough Liu
|
751adaa687
|
Remove ContainsLast flag
|
2021-02-05 10:07:46 +00:00 |
|
Pavan Kumar Sunkara
|
f88956de5e
|
Merge pull request #2320 from ldm0/parser1
Parser logic clean up
|
2021-02-05 09:59:13 +00:00 |
|
Donough Liu
|
818f62bd5c
|
Unused clippy allow
|
2021-01-30 17:39:34 +00:00 |
|
Donough Liu
|
45753d552b
|
Resolve a TODO
|
2021-01-30 17:39:34 +00:00 |
|
Donough Liu
|
cf4881182a
|
Add comments for some internal app settings
|
2021-01-30 17:39:34 +00:00 |
|
Donough Liu
|
c8e669c690
|
Eliminate unreachable branch
comment fix
Apply fmt
|
2021-01-30 17:39:33 +00:00 |
|
Donough Liu
|
944fc759c9
|
Optimize branch, more comments
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
5774eb2c52
|
Simplify possible subcommand
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
9cf007378b
|
Branch simpification
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
336f926ec9
|
Integrate workflow
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
be314d9ac0
|
Flow optimize
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
c39dcf2ecf
|
Remove redundant ClapResult in some functions
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
1b63516e3b
|
Flow reordering
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
47eee8ab2f
|
Acc a request
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
c6bcfe819e
|
Clearer error processing
|
2021-01-30 17:24:11 +00:00 |
|
Donough Liu
|
8f4c26fc58
|
Minor redundant logic cleanup
Fix clippy
dot fix
|
2021-01-30 17:24:09 +00:00 |
|
Pavan Kumar Sunkara
|
8d5a021e1e
|
Merge pull request #2309 from ldm0/parser0
Dehack, Revert #1856
|
2021-01-30 14:52:02 +00:00 |
|
Pavan Kumar Sunkara
|
56ffb5e4ed
|
Merge pull request #2310 from ldm0/val_names
Fix usage of positional grouped arguments uses arg name rather than val_name
|
2021-01-26 18:16:47 +00:00 |
|
Pavan Kumar Sunkara
|
2a004c700f
|
Merge pull request #2312 from bestgopher/master
Update README.md
|
2021-01-26 18:14:56 +00:00 |
|
bestgopher
|
70f49d9fc5
|
Update README.md
fix INPUT
|
2021-01-26 15:59:29 +08:00 |
|
ldm0
|
5ee6e07858
|
Fix usage of positional grouped arguments uses arg name rather than val_name
|
2021-01-24 19:02:43 +00:00 |
|
Donough Liu
|
0df169bbdc
|
Fix incorrect error message.
Comment out regressed logic
Fix clippy
|
2021-01-23 14:51:40 +00:00 |
|
Donough Liu
|
90d786b8bc
|
Dehack, revert #1856
|
2021-01-23 14:51:40 +00:00 |
|
Donough Liu
|
9477a5ffdb
|
Correct tests, reveal real problem
|
2021-01-23 14:51:40 +00:00 |
|
Pavan Kumar Sunkara
|
d7f6748887
|
Merge pull request #2306 from ldm0/unset_setting
Fix unset_setting()
|
2021-01-23 13:37:57 +00:00 |
|
Bowen Ding
|
3907e11621
|
Make @group accept multiple attributes (#2248)
* Make @group accept multiple attributes.
* New syntax: remove parenthese and "=>".
* Fix example
* Make Clippy happy
* Make clippy happy again
|
2021-01-23 13:12:40 +00:00 |
|
ldm0
|
68a0ef930a
|
Fix copied code
|
2021-01-23 06:41:11 +00:00 |
|