Ed Page
09d21f4005
docs: Update changelog
2022-04-30 06:35:38 -05:00
Ed Page
bd653b90d9
Merge pull request #3667 from epage/exe
...
fix(help): Make help output more consistent
2022-04-30 06:30:30 -05:00
Ed Page
8df20478a4
style: Make clippy happy
2022-04-29 20:26:59 -05:00
Ed Page
ccf8634c19
fix(help): Provide correct context for help subcmd errors
2022-04-29 20:25:05 -05:00
Ed Page
1452c1e42b
fix(help): Help subcommands usage includes requires arguments
2022-04-29 20:16:19 -05:00
Ed Page
37ebb71806
fix(help): write_help
usage includes required arguments
2022-04-29 20:15:54 -05:00
Ed Page
d411e7a2fa
docs(ref): Be more explicit with ArgEnums
2022-04-29 19:32:10 -05:00
Ed Page
515a37dba1
fix(debug): Improve debug output of bin building
2022-04-29 16:18:30 -05:00
Ed Page
bcde91b101
fix(debug): Update Command's debug statements
2022-04-29 16:07:47 -05:00
Ed Page
2edc1a2bdf
test(help): Verify showing of required attributes
2022-04-29 15:46:15 -05:00
Ed Page
7cdce9cabe
refactor(test): Use snapbox's diffs
2022-04-29 15:32:25 -05:00
Ed Page
ba0301d9b4
refactor(builder): Group related build functions
2022-04-29 09:36:28 -05:00
Ed Page
7113e46388
fix(builder): Deprecate public Command::_build_bin_names
2022-04-29 09:21:42 -05:00
Ed Page
397e8443f9
refactor(builder): Consistently use internal function
2022-04-29 09:16:20 -05:00
Ed Page
0a1cfe3557
docs(changelog): Start v4 section
2022-04-29 08:21:23 -05:00
Ed Page
9bf01e916d
Merge pull request #3656 from epage/complete
...
feat(complete): Skeleton for Rust-driven completions
2022-04-27 16:24:01 -05:00
Ed Page
1922b892ae
fix(complete): Correctly detect positionals
2022-04-27 15:53:02 -05:00
Ed Page
53ae382c99
feat(complete): Add debug aids
2022-04-27 15:49:58 -05:00
Ed Page
4b9dd3fbbb
test(complete): Cover long flags
2022-04-27 15:49:58 -05:00
Ed Page
c9b6d62ba7
test(complete): Cover subcommands
2022-04-27 15:49:58 -05:00
Ed Page
ca4439a93a
fix(complete): Make short flags additive
2022-04-27 15:49:58 -05:00
Ed Page
f4892848da
fix(complete): Allow subcommands in escaped arguments
2022-04-27 15:49:58 -05:00
Ed Page
6895806566
fix(complete: Use correct value name for IFS
2022-04-27 15:49:58 -05:00
Ed Page
2701f48023
fix(complete): Don't require IFS
...
This makes testing easier
2022-04-27 15:49:58 -05:00
Ed Page
fe70fbc733
fix(complete): Only use IFS between items
2022-04-27 15:49:58 -05:00
Ed Page
a574f226eb
feat(complete): Look up partial matches
2022-04-27 15:49:58 -05:00
Ed Page
63e0fd5c50
fix(complete): Don't count flags as positionals
2022-04-27 15:49:58 -05:00
Ed Page
0112ad8b4f
refactor(complete): Extract arg value completion
2022-04-27 15:49:58 -05:00
Ed Page
458b4ae9cc
feat(complete): Escaped args are always positional
2022-04-27 15:49:58 -05:00
Ed Page
44443503cc
feat(complete): Only list for current positional
2022-04-27 15:49:58 -05:00
Ed Page
2d70927be6
fix(complete): Detect which argument is being completed
2022-04-27 15:49:58 -05:00
Ed Page
018b8bd565
feat(complete): Complete possible values
2022-04-27 15:49:58 -05:00
Ed Page
5882e3df3b
feat(complete): Basic subcommand support
2022-04-27 15:49:58 -05:00
Ed Page
9f9e410c6d
feat(complete): Minimal rust-completion
...
Inspired by argcomplete, this provides Rust-implemented completions
- Only bash for now
- No subcommand support
- No flag value support
- No special settings support
- No handling of positions within positionals
- No prioritizing of required or removing of conflicts (including
self-conflicts)
2022-04-27 15:49:58 -05:00
Ed Page
bbf6488ede
fix(complete): Send debug statements to stderr
2022-04-27 15:49:58 -05:00
Ed Page
d4ddc5f6d6
clap(debug): More conflict details
2022-04-27 12:38:12 -05:00
Ed Page
f083ef92c5
fix(lex)!: Don't do prefix matching by default
...
Finding this a pain in `clap_complete`; not offering the benefits I
expected.
2022-04-27 12:38:12 -05:00
Ed Page
3d64ebacac
test(complete): Option to verify examples
2022-04-27 09:03:47 -05:00
Ed Page
89c2b3bb0d
docs(complete): Clarify examples
2022-04-27 08:55:12 -05:00
Ed Page
406bfbd3dc
Merge pull request #3655 from epage/test
...
test(complete): Use official extensions for snapshots
2022-04-22 16:32:38 -05:00
Ed Page
55bfacbf43
test(complete): Use official extensions for snapshots
2022-04-22 16:21:10 -05:00
Ed Page
1e181770ac
Merge pull request #3653 from epage/color
...
fix(clap): Allow disabling color with debug
2022-04-22 12:49:16 -05:00
Ed Page
5ae9c75324
fix(clap): Allow disabling color with debug
2022-04-22 12:32:58 -05:00
Ed Page
3fa690e888
Merge pull request #3652 from epage/stdio
...
test(output): Ensure correct streams
2022-04-22 11:06:05 -05:00
Ed Page
1e2471649e
test(output): Ensure correct streams
...
This is to prevent #3648 from happening again
2022-04-22 10:56:47 -05:00
Ed Page
d43dd6eb7f
Merge pull request #3650 from epage/test
...
test(group): Verify overrides required
2022-04-22 07:15:58 -05:00
Ed Page
4e20af3498
refactor(parser): Reduce visibility of parser fields
2022-04-22 07:03:07 -05:00
Ed Page
e7471eb546
test(group): Verify overrides required
...
This adds a test for de89c050c9
that
confirms #3647 is fixed
Fixes #3647
2022-04-22 07:01:53 -05:00
Ed Page
d805c6031d
chore: Release
2022-04-22 06:52:05 -05:00
Ed Page
d09aec2c14
docs: Update changelog
2022-04-22 06:51:59 -05:00