Commit Graph

2311 Commits

Author SHA1 Message Date
a425337371
Use correct env var for global flags 2022-09-11 18:34:13 -04:00
7d9264aea1
Replace a few more custom make targets 2022-09-11 18:32:04 -04:00
1a851c7ac9
Only run make v2diff on go 1.19.x + ubuntu-latest 2022-09-11 18:22:43 -04:00
da7efeb63b
Use windows compatible path append 2022-09-11 16:37:56 -04:00
ff1138c969
Run make target after the Makefile is available 2022-09-11 16:12:16 -04:00
12a3c62e50
Move more functionality into internal/build/build.go
and use make targets in CI, pass flag spec YAML through yq

includes result of running `make v2approve`
2022-09-11 16:02:48 -04:00
dearchap
375e5dfc1d
Merge pull request #1489 from dearchap/fix_help_name_consistency
Fix: Help name consistency among app/commands and subcommands
2022-09-11 15:00:44 -04:00
Naveen Gogineni
8339b59554 Fix: Help name consistency among app/commands and subcommands 2022-09-11 10:21:56 -04:00
dearchap
8dba5c3eb3
Merge pull request #1488 from dearchap/no_dest_ptr
Fix: dont generate pointer for dest for Generic flag
2022-09-10 20:27:04 -04:00
Naveen Gogineni
15491d6f91 Fix: dont generate pointer for dest for Generic flag 2022-09-10 18:03:30 -04:00
6124f3ad9e
Merge pull request #1486 from urfave/codecov-threshold-tweaks
Set codecov status thresholds to 5%
2022-09-10 13:12:32 -04:00
ee4ff8f8ff
Set codecov status thresholds to 5%
and rename file to be less dotty
2022-09-10 10:29:41 -04:00
dearchap
d62ac9c02e
Merge pull request #1378 from dearchap/issue_1334
Feature:(Issue 1334) Add support for uint64slices
2022-09-10 09:41:46 -04:00
Naveen Gogineni
d0fff2e8cc Add additional test to fix codecov 2022-09-10 09:36:30 -04:00
Naveen Gogineni
b087856c64 Add additional test to fix codecov 2022-09-10 09:27:33 -04:00
Naveen Gogineni
4f9b8e4667 Add coverage threshold 2022-09-10 08:55:33 -04:00
Naveen Gogineni
f6b4ee0e78 Merge from main 2022-09-10 08:55:33 -04:00
Naveen Gogineni
0c7dcf7c2b Fix formatting 2022-09-10 08:55:33 -04:00
Naveen Gogineni
ec257a8705 Fix tests per latest main 2022-09-10 08:55:33 -04:00
Naveen Gogineni
f11dfa6b8b Rebase 2022-09-10 08:55:33 -04:00
Naveen Gogineni
f8b9a7cc2e Merge changes from main 2022-09-10 08:55:33 -04:00
dearchap
6ccecf2dbe
Merge pull request #1257 from dearchap/bool_count
Add count option for bool flags
2022-09-06 09:26:21 -04:00
b1b1b27260
Merge pull request #1479 from urfave/release-process-notes
Add a few notes to release docs
2022-09-06 09:05:48 -04:00
Naveen Gogineni
869f29af0a Remove keystroke errors 2022-09-06 08:48:56 -04:00
Naveen Gogineni
dbdf119742 Add countable interface 2022-09-06 08:48:56 -04:00
Naveen Gogineni
15fd35e7b4 Add parametrize tests 2022-09-06 08:48:56 -04:00
Naveen Gogineni
7941e8ccf6 Add context.Count 2022-09-06 08:48:56 -04:00
dearchap
5db4e8086e Update docs/v2/examples/flags.md
Co-authored-by: Dan Buch <dan@meatballhat.com>
2022-09-06 08:48:56 -04:00
Naveen Gogineni
c22edee8b0 Add args 2022-09-06 08:48:56 -04:00
Naveen Gogineni
9a22ec034e Update godocs 2022-09-06 08:48:56 -04:00
Naveen Gogineni
af60ce5f44 Update docs 2022-09-06 08:48:56 -04:00
Naveen Gogineni
b75c1aa07d Run gofmt 2022-09-06 08:48:56 -04:00
Naveen Gogineni
1047a3303c Add to docs 2022-09-06 08:48:56 -04:00
Naveen Gogineni
6bfa730c7e Rebase main 2022-09-06 08:48:56 -04:00
Naveen Gogineni
3d03f6dfd3 Merge main and run tidy 2022-09-06 08:48:56 -04:00
Naveen Gogineni
faf75f6960 Update for build 2022-09-06 08:48:56 -04:00
Naveen Gogineni
ff23fe0b4c Merge commits 2022-09-06 08:48:56 -04:00
Naveen Gogineni
c8f53f9bdb Remove go changes 2022-09-06 08:48:56 -04:00
Naveen Gogineni
193fd848b1 Merge changes onto latest main 2022-09-06 08:48:56 -04:00
Naveen Gogineni
b4e0ec3b8a Add count option for bool flags 2022-09-06 08:48:56 -04:00
f1b2ed0409
Merge branch 'main' into release-process-notes 2022-09-06 07:43:47 -04:00
94c9951e4a
Merge pull request #1480 from urfave/update-codecov-action
Update version of codecov action
2022-09-06 07:43:34 -04:00
6245c0a06c
Explicitly pass CODECOV_TOKEN 2022-09-05 13:14:09 -04:00
42c6c3876e
Update version of codecov action
given errors seen in other PRs using v2
2022-09-05 13:07:41 -04:00
49f6440a18
Add a few notes to release docs
about the relationship to proxy.golang.org and automatically generated
release notes.
2022-09-05 12:03:38 -04:00
Alex
31c5137f2e
Update cli.yml (#1469)
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>

Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
2022-09-04 12:32:28 -04:00
dearchap
f451dead12
Fix:(issue_1272) Generic flag not set from env (#1458) 2022-09-01 08:46:59 -04:00
Ilia Choly
ca9df40abd
Add App.InvalidFlagAccessHandler (#1446)
* Add App.UnknownFlagHandler

* Rename App.UnknownFlagHandler to App.InvalidFlagAccessHandler

* Traverse parent contexts
2022-08-30 18:51:16 -04:00
dearchap
254c38ea72
Fix:(issue_1293) Wrap usage text for commands (#1460)
* Fix:(issue_1293) Wrap usage text for commands

* Change way to calculate offset

* Make test case more robust

* Remove add function

* Add comment
2022-08-30 17:56:37 -04:00
ab
514a1149f0
Update v2 dead link (#1466) 2022-08-30 17:56:19 -04:00