sudotac
e25b1abddf
feat(complete): Add DirPath support in bash
2024-01-20 21:29:50 +09:00
sudotac
3a222def22
fix(complete): Fix path completion in bash
...
Fix #5239
2024-01-20 21:29:06 +09:00
sudotac
62a5ace9f1
test(complete): Verify some variants of ValueHint
2024-01-20 21:28:52 +09:00
Ed Page
6a2b3bf4fa
chore: Release
2024-01-19 10:47:00 -06:00
Ed Page
069c7a6245
docs: Update changelog
2024-01-19 10:46:46 -06:00
Ed Page
e1c3575044
Merge pull request #5256 from Serock3/master
...
fix(clap_complete): Use bin name instead of package name for bash completions in subcommands
2024-01-19 10:45:28 -06:00
Sebastian Holmin
ba378e635c
fix(complete): Use bin_name
for subcommands
...
Bash completions for subcommands used package
name, which broke completions when the `bin_name`
was different.
Update the `custom_bin_name` test to reflect the
correct behavior.
2024-01-19 10:27:36 +01:00
Sebastian Holmin
6411995641
test(complete): Add custom bin name test
2024-01-19 10:26:26 +01:00
Ed Page
e819db4af6
chore(ci): Cancel prior CI runs
2024-01-18 09:22:25 -06:00
Ed Page
ef45f2d4e7
Merge pull request #5317 from epage/author
...
docs: Adjust how we approach `author`
2024-01-17 09:06:10 -06:00
Ed Page
64ae186dfc
docs(tutorial): Don't cover 'author' as its not shown
2024-01-17 08:06:56 -06:00
Ed Page
42849cdf5f
docs(derive): Point users to 'help_template' if they want author
2024-01-17 08:00:40 -06:00
Ed Page
0134f45ff0
chore: Release
2024-01-16 14:28:07 -06:00
Ed Page
995ee03277
docs: Update changelog
2024-01-16 14:27:49 -06:00
Ed Page
2f1890907e
Merge pull request #5314 from epage/required
...
fix(parser): Don't duplicate requireds when usage disabled
2024-01-16 14:26:40 -06:00
Ed Page
0a635b9a20
fix(parser): Don't duplicate requireds when usage disabled
...
Skipping a test for now because we don't have a mixed-feature testing
strategy.
Fixes #5312
2024-01-16 14:15:48 -06:00
Ed Page
e648e086f3
Merge pull request #5311 from sourcefrog/doc-exitcode
...
Link to exit code info
2024-01-15 16:33:37 -06:00
Martin Pool
8c83971b8c
docs: Link to exit code info
2024-01-15 14:30:11 -08:00
Ed Page
b250c0b5f5
Merge pull request #5310 from epage/pty
...
chore(complete): Update completest-pty
2024-01-15 14:51:12 -06:00
Ed Page
c742b8eb0c
chore(complete): Update completest-pty
2024-01-15 14:42:42 -06:00
Ed Page
f524d84c1d
chore: Release
2024-01-15 13:09:45 -06:00
Ed Page
944fb81cf5
docs: Update changelog
2024-01-15 13:09:24 -06:00
Ed Page
f7a2e4623a
Merge pull request #5309 from epage/long
...
fix(complete): Don't provide help output for user
2024-01-15 13:08:32 -06:00
Ed Page
6fcba9821d
fix(complete): Don't provide help output for user
...
We shouldn't be injecting help when being flattened.
Unsure why this made tests fail inconsistentkly between CI and local
2024-01-15 12:51:45 -06:00
Ed Page
a04e4550b9
Merge pull request #5307 from epage/completest
...
chore: Update completest
2024-01-15 12:47:54 -06:00
Ed Page
419f231dad
chore: Update completest
2024-01-15 12:21:42 -06:00
Ed Page
6e862f5617
chore: Update completest
2024-01-15 12:21:41 -06:00
Ed Page
ef98da27cb
chore: Release
2024-01-15 10:20:03 -06:00
Ed Page
5801ce1937
docs: Update changelog
2024-01-15 10:19:51 -06:00
Ed Page
d1d88ae45b
Merge pull request #5306 from epage/conflict
...
fix(parser): Don't panic with conflicts and groups
2024-01-15 10:19:04 -06:00
Ed Page
50c59f63bb
fix(parser): Don't panic with conflicts and groups
...
With #5298 , I had overlooked that `matcher.arg_ids()` includes
`ArgGroup`s. I had assumed I could always find a present `id` among
`Arg`s and `unwrap`ed.
I skipped a test for this because the use case is a bit strange that the
long term value for the test would likely be low.
If/when we add derive support for `args_conflicts_with_subcommands`, it
will then cover this case.
Fixes #5304
2024-01-15 09:30:19 -06:00
Will Shanks
29c5690000
fix: Use "full" cmd name in man page
...
Print the full command, instead of just the last subcommand in the man
page. ex for `git add` print `git-add` instead of simply `add` as the
title and name. For the synopsis print the usage string, so `git add`
2024-01-12 18:47:36 -08:00
Ed Page
cbc9c9dd44
chore: Release
2024-01-11 20:52:38 -06:00
Ed Page
4718b89486
docs: Update changelog
2024-01-11 20:52:23 -06:00
Ed Page
38f805cea0
Merge pull request #5299 from epage/ansi
...
fix: Update anstream
2024-01-11 20:51:20 -06:00
Ed Page
2a3356a535
fix: Update anstream
2024-01-11 20:33:39 -06:00
Ed Page
12b5c39d46
chore: Release
2024-01-11 10:37:53 -06:00
Ed Page
1c5b63390b
docs: Update changelog
2024-01-11 10:37:40 -06:00
Ed Page
a5d46410e0
Merge pull request #5298 from epage/conflict
...
fix(parser): Improve `args_conflicts_with_subcommands` experience
2024-01-11 10:36:06 -06:00
Ed Page
f529ec398c
fix(parser): Ensure subcommand flags can conflict
...
Fixes #5297
2024-01-11 10:25:57 -06:00
Ed Page
a7e04a53e4
fix(parser): Improve subcommand conflict error
2024-01-11 10:20:19 -06:00
Ed Page
ea00ef3051
refactor(error): Allow more conflict sources
2024-01-11 10:17:35 -06:00
Ed Page
e47d8a2a66
refactor(parser): Clarify arg error
2024-01-11 09:47:00 -06:00
Ed Page
69c0509198
test(parser): Verify conflicts with precedence
2024-01-11 09:14:37 -06:00
Ed Page
e2b18f199f
test(parser): Show flag behavior
2024-01-11 09:04:35 -06:00
Ed Page
06bff1c955
test(parser): Check subcommands conflict with positionals
2024-01-11 08:48:23 -06:00
Ed Page
70da3a8608
test(parser): Reduce size of test
2024-01-11 08:46:47 -06:00
Ed Page
11fd6ca269
test(parser): Clarify test name
2024-01-11 08:45:40 -06:00
Ed Page
811acc45c1
test(parser): Group subcommandc conflict tests
2024-01-11 08:45:03 -06:00
Ed Page
514f28bc92
chore: Release
2024-01-08 10:39:47 -06:00