Commit Graph

2352 Commits

Author SHA1 Message Date
Naveen Gogineni
6b0a3e80b5 Add parametrize tests 2022-10-02 21:14:32 -04:00
Naveen Gogineni
c0a8506cea Add context.Count 2022-10-02 21:14:32 -04:00
dearchap
fa3bbf91ed Update docs/v2/examples/flags.md
Co-authored-by: Dan Buch <dan@meatballhat.com>
2022-10-02 21:14:31 -04:00
Naveen Gogineni
3adf8fa48d Add args 2022-10-02 21:14:31 -04:00
Naveen Gogineni
cbd62ef958 Update godocs 2022-10-02 21:14:31 -04:00
Naveen Gogineni
b694a25730 Update docs 2022-10-02 21:14:31 -04:00
Naveen Gogineni
2f66431a43 Add to docs 2022-10-02 21:13:45 -04:00
Naveen Gogineni
2f082d69c9 Rebase main 2022-10-02 21:13:44 -04:00
Naveen Gogineni
c0a2866a4b Merge main and run tidy 2022-10-02 21:12:45 -04:00
Naveen Gogineni
2b0db3b3ae Update for build 2022-10-02 21:11:35 -04:00
Naveen Gogineni
c4251de503 Remove go changes 2022-10-02 21:09:46 -04:00
Naveen Gogineni
2941bc8e70 Merge changes onto latest main 2022-10-02 21:08:12 -04:00
Naveen Gogineni
03487fc7f0 Add count option for bool flags 2022-10-02 21:04:38 -04:00
eea567aa20 Add a few notes to release docs
about the relationship to proxy.golang.org and automatically generated
release notes.
2022-10-02 21:02:11 -04:00
31edfd60a2 Explicitly pass CODECOV_TOKEN 2022-10-02 21:02:00 -04:00
8609031738 Update version of codecov action
given errors seen in other PRs using v2
2022-10-02 21:02:00 -04:00
Alex
e57f53bf6c Update cli.yml
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2022-10-02 21:01:44 -04:00
1446649448 Use cli/v2 in genflags tool (for now?) 2022-10-02 20:59:36 -04:00
d34a232baf Merge remote-tracking branch 'origin/v3-dev-main' into v3-porting 2022-10-02 20:16:11 -04:00
Naveen Gogineni
68cd3e8148 Fix:(issue_1272) Generic flag not set from env 2022-10-02 20:12:09 -04:00
bd44c95e0b Merge pull request #1494 from urfave/v3-mod-bump
Bump declared module and internal usage to `/v3/`
2022-10-02 20:09:15 -04:00
a529996bf6 Merge pull request #1511 from urfave/v3-docs-off
Turn off docs publishing from v3 series
2022-10-02 20:08:54 -04:00
Ilia Choly
4bce542ed7 Traverse parent contexts 2022-10-02 11:02:32 -04:00
Ilia Choly
e19a34c3c2 Rename App.UnknownFlagHandler to App.InvalidFlagAccessHandler 2022-10-02 11:02:31 -04:00
Ilia Choly
6331815fae Add App.UnknownFlagHandler 2022-10-02 11:02:31 -04:00
Naveen Gogineni
321d49344b Add comment 2022-10-02 11:02:19 -04:00
Naveen Gogineni
e48d377e62 Remove add function 2022-10-02 11:02:19 -04:00
Naveen Gogineni
96e41a628a Make test case more robust 2022-10-02 11:02:19 -04:00
Naveen Gogineni
d89bc4a6e2 Change way to calculate offset 2022-10-02 11:02:19 -04:00
Naveen Gogineni
b539ee7dc6 Fix:(issue_1293) Wrap usage text for commands 2022-10-02 11:02:19 -04:00
ab
445734dd4b Update v2 dead link 2022-10-02 11:02:07 -04:00
Dokiy
d520bfce53 Modify nesting flag apply 2022-10-02 11:01:49 -04:00
James He
9a33ae888c fixing test 2022-10-02 10:55:47 -04:00
James He
9630e101c3 adding alias support to remaining flags and fixing tests 2022-10-02 10:55:47 -04:00
James He
126d238fc9 adding float flag alias support 2022-10-02 10:55:47 -04:00
James He
c512a283ea add support for duration flag 2022-10-02 10:55:47 -04:00
James He
5a5789af7a adding int alias and test 2022-10-02 10:55:47 -04:00
James He
50bbb4a53e adding string alias and test 2022-10-02 10:55:47 -04:00
James He
e0db267492 adding in boolean alias support 2022-10-02 10:54:52 -04:00
gerrard
909232502b fix: update test case 2022-10-02 10:52:21 -04:00
gerrard
9de6fa4ded fix: allow required flag with one character 2022-10-02 10:52:21 -04:00
ccremer
382386a079 Add configurable Base to int, uint and uint64 flags
This allows users to configure the basis for integer parsing.
2022-10-02 10:51:43 -04:00
Naveen Gogineni
f515798623 Revert godoc changes 2022-10-02 10:46:03 -04:00
Naveen Gogineni
3c6588ca75 Remove debug println 2022-10-02 10:46:03 -04:00
Naveen Gogineni
78dac9c7af Fix:(issue_1455) Allow bool flags from input altsrc 2022-10-02 10:46:03 -04:00
Naveen Gogineni
42eb492258 Rename function 2022-10-02 10:39:54 -04:00
Naveen Gogineni
42d8058ed9 Fix:(issue_1094) Dont execute Before/After handlers during shell completion 2022-10-02 10:39:54 -04:00
Hayden
2b1a8cad54 rename filename to dirPath 2022-10-02 10:37:49 -04:00
Hayden
87f003f087 pass in correct root 2022-10-02 10:37:35 -04:00
Hayden
d217a5ac6c wip: add --walk flag to gfrun to accept directory 2022-10-02 10:37:24 -04:00