Commit Graph

2425 Commits

Author SHA1 Message Date
miyado
dd9cd61bef
Fix for TimestampFlag.GetValue to return empty string without value 2022-10-01 19:17:07 -04:00
40d886b0e6
Add stub for v3 docs + point gfmrun there instead 2022-09-30 08:13:34 -04:00
22ff9a34c9
Soft revert go.mod version bump 2022-09-29 07:59:21 -04:00
93a3190684
Bump declared module and internal usage to /v3/ 2022-09-12 07:51:51 -04:00
dearchap
0a88df4e46
Merge pull request #1471 from dearchap/collapse_flag_interface
Collapse flag interface
2022-09-05 16:45:06 -04:00
Naveen Gogineni
7e80d2099c Update godoc 2022-09-05 08:17:26 -04:00
Naveen Gogineni
069c6bfe4a Run gofmt 2022-09-05 08:12:38 -04:00
Naveen Gogineni
268cb973f8 Remove all flag interfaces 2022-09-04 22:51:05 -04:00
Naveen Gogineni
ab68d8a69d Cleanup: Collapse flag interfaces 2022-09-04 22:18:41 -04:00
ab
514a1149f0
Update v2 dead link (#1466) 2022-08-30 17:56:19 -04:00
james-prysm
f6642463da
Add support for alias in YAMLs (#1448)
* adding in boolean alias support

* fixing formatting

* adding string alias and test

* adding int alias and test

* add support for duration flag

* adding float flag alias support

* adding alias support to remaining flags and fixing tests

* fixing test

* Modify nesting flag apply

Co-authored-by: Dokiy <49900744+Dokiys@users.noreply.github.com>
Co-authored-by: Dokiy <Dokiy.zhang@verystart.cn>
2022-08-30 06:51:34 -04:00
Gerrard-YNWA
b98c059269
fix: allow required flag with one character (#1449)
* fix: allow required flag with one character

* fix: update test case
2022-08-29 07:25:55 -04:00
dearchap
8b23e7b1e9
Merge pull request #1464 from ccremer/parse-int
Add configurable Base to int, uint and uint64 flags
2022-08-26 19:21:09 -04:00
ccremer
bd2ae121ab
Add configurable Base to int, uint and uint64 flags
This allows users to configure the basis for integer parsing.
2022-08-25 15:25:47 +02:00
dearchap
77a5feffee
Merge pull request #1456 from dearchap/issue_1455
Fix:(issue_1455) Allow bool flags from input altsrc
2022-08-24 08:14:14 -04:00
Naveen Gogineni
2e8c0e90fa Revert godoc changes 2022-08-23 08:39:43 -04:00
Naveen Gogineni
0ef23521c5 Remove debug println 2022-08-23 08:37:52 -04:00
dearchap
b4df361387
Merge pull request #1457 from dearchap/issue_1094 2022-08-23 05:15:53 -04:00
Naveen Gogineni
7b28ca54ea Rename function 2022-08-17 21:22:53 -04:00
Naveen Gogineni
57a8423422 Fix:(issue_1094) Dont execute Before/After handlers during shell completion 2022-08-17 21:19:34 -04:00
Naveen Gogineni
f394c3779d Fix:(issue_1455) Allow bool flags from input altsrc 2022-08-16 18:34:34 -04:00
dearchap
7357e10160
Merge pull request #1453 from hay-kot/main
docs: split documentation into individual pages
2022-08-16 09:33:19 -04:00
dearchap
87dedb6d77
Merge pull request #1452 from urfave/shift-supported-go
Shift supported go versions
2022-08-16 09:32:28 -04:00
dearchap
6331954e44
Merge branch 'main' into shift-supported-go 2022-08-16 09:26:39 -04:00
dearchap
3a1b6de558
Merge pull request #1451 from urfave/pin-genflags-last-release
Move genflags tool to cmd/ and pin to previous release
2022-08-16 09:25:31 -04:00
Hayden
3b3b2cd7b9 rename filename to dirPath 2022-08-15 07:34:22 -08:00
dearchap
6ff3e8e164
Merge pull request #1454 from urfave/rearrange_slice_code
issue_62: Make slice options more posix like
2022-08-15 09:43:24 -04:00
Hayden
c6616c3e47 pass in correct root 2022-08-14 18:14:56 -08:00
Hayden
a41f215785 wip: add --walk flag to gfrun to accept directory 2022-08-14 16:49:20 -08:00
Naveen Gogineni
af3b50c2bb Changes from code review 2022-08-14 20:36:17 -04:00
Naveen Gogineni
b80ff3d32f issue_62: Make slice options more posix like 2022-08-14 20:36:17 -04:00
Hayden
dac1c40ee5 add tags and boost for pages 2022-08-14 16:11:56 -08:00
Hayden
286d5ada85 add tags plugin 2022-08-14 16:10:39 -08:00
Hayden
dec6654224 update sidebar configuration 2022-08-14 15:55:40 -08:00
Hayden
cbe642e806 breakup v2 documentation 2022-08-14 15:55:31 -08:00
Hayden
5361b381b8 split v1 docs into individual pages 2022-08-14 14:49:05 -08:00
ade5edbb7f
Use goimports as formatting standard
given some disagreement with gofmt that seems to have shown up in 1.19
2022-08-14 10:47:42 -04:00
27b456971b
Shift supported go versions
and approve word-wrapping changes to godoc
2022-08-14 10:31:53 -04:00
234972ef8f
Add missing go.sum entries for go 1.16.x 2022-08-14 10:22:18 -04:00
a8966ca1b9
Tidy up top-level go.mod 2022-08-14 10:06:26 -04:00
3e4237a67f
Move genflags tool to cmd/ and pin to previous release
to alleviate problems caused by the circular dependency of using the
same code as a library that is potentially being generated to adhere to
a different API.
2022-08-14 10:02:07 -04:00
dearchap
321610437e
Merge pull request #1438 from urfave/v3-target-1.18-min
Target minimum go 1.18 in v3-dev-main
2022-08-13 13:00:29 -04:00
dearchap
e3ee4fb3ef
Merge pull request #1444 from Dokiys/fix/add_after_before_help_check
Fix After not run
2022-08-13 08:27:21 -04:00
dearchap
0c9527f4b7
Merge pull request #1445 from Dokiys/fix/hidehelp_with_none_args
Fix HideHelp
2022-08-07 18:33:58 -04:00
Dokiy
1a1b9cd563 Fix HideHelp 2022-07-29 15:26:06 +08:00
Dokiy
a1c26d5491 Fix After not run 2022-07-29 11:05:32 +08:00
c8147a4845
Merge pull request #1439 from hmiyado/fix-timestamp-getvalue
Fix timestamp flag error when using help

--

I'm merging this with the codecov patch check failing because this fixes a bug in code that wasn't sufficiently covered prior to the fix. In other words, I don't consider this codecov failure to be specific to this PR.
2022-07-20 07:57:52 -04:00
miyado
6d67b2dc59 Fix for TimestampFlag.GetValue to return empty string without value 2022-07-18 16:33:53 +09:00
887d31ffaf
Target minimum go 1.18 in v3-dev-main 2022-07-16 12:10:51 -04:00
cb7532a1df
Merge pull request #1437 from urfave/merging-main-to-v3-dev-main
Merging main to v3 dev main
2022-07-16 08:35:09 -04:00