Commit Graph

2654 Commits

Author SHA1 Message Date
meatballhat dc0ad27f40 Merge commit '514a114' into v3-porting 2022-11-07 08:16:02 -05:00
meatballhat 5dcfcce49f Merge commit 'f664246' into v3-porting 2022-11-07 08:15:52 -05:00
meatballhat c19cd3811d Merge commit 'b98c059' into v3-porting 2022-11-07 08:15:18 -05:00
meatballhat a9bf2e7aa5 Merge commit '8b23e7b' into v3-porting 2022-11-07 08:15:11 -05:00
meatballhat ade08d5931 Merge commit '77a5fef' into v3-porting 2022-11-07 08:14:49 -05:00
meatballhat 38546ca7b5 Merge commit 'f394c37' into v3-porting 2022-11-07 08:14:42 -05:00
meatballhat ff6f4b443e Merge commit 'b4df361' into v3-porting 2022-11-07 08:12:31 -05:00
meatballhat 4e3a32787a Merge commit '7b28ca5' into v3-porting 2022-11-07 08:12:19 -05:00
meatballhat 504ec56a3b Merge commit '7357e10' into v3-porting 2022-11-07 08:12:07 -05:00
meatballhat 8c34fbca99 Merge commit 'c6616c3' into v3-porting 2022-11-07 08:11:54 -05:00
meatballhat 140c96c75c Merge commit 'dac1c40' into v3-porting 2022-11-07 08:11:12 -05:00
meatballhat f68da12273 Merge commit '87dedb6' into v3-porting 2022-11-07 08:10:52 -05:00
meatballhat ba1c00ef2c Merge commit '3a1b6de' into v3-porting 2022-11-07 08:10:20 -05:00
meatballhat 63b730ef0a Merge commit '234972e' into v3-porting 2022-11-07 08:10:13 -05:00
meatballhat 3c66d6d757 Merge commit '6ff3e8e' into v3-porting 2022-11-07 08:09:48 -05:00
meatballhat fd3354f651 Merge commit 'af3b50c' into v3-porting 2022-11-07 08:09:29 -05:00
meatballhat 16c0635dd4 Merge commit 'ade5edb' into v3-porting 2022-11-07 08:09:09 -05:00
meatballhat 874d06d6a7 Merge commit 'e3ee4fb' into v3-porting 2022-11-07 08:08:31 -05:00
meatballhat 9aa0dd753f Merge commit 'c8147a4' into v3-porting 2022-11-07 08:05:28 -05:00
dearchap 46043dde65 Merge pull request #1553 from dearchap/altsrc_generation
Chore: Add altsrc flag definition generation
2022-11-04 08:37:22 -04:00
Naveen Gogineni 45dc37629c Code review comment 2022-11-04 08:36:32 -04:00
dearchap 190e5b6082 Merge pull request #1551 from Edelweiss-Snow/issue_1550
Feature:(issue_1550):Add support Int64Slice by read toml config file
2022-11-04 08:16:51 -04:00
dearchap e194a18542 Merge pull request #1565 from remiposo/avoid_duplication_of_help_commands
Fix: Avoid duplication of help commands
2022-11-04 08:12:41 -04:00
Edelweiss-Snow a0343df736 Merge branch 'main' into issue_1550 2022-11-04 18:24:15 +08:00
remiposo bc62fff34a Fix: Avoid duplication of help commands 2022-11-04 04:54:49 +00:00
dearchap d0aeb4d55d Merge pull request #1562 from dearchap/issue_1114
Fix:(issue_1114) Add SkipFlagParsing to app to allow --
2022-11-02 14:47:03 -04:00
Naveen Gogineni 13cc7677ab Add SkipFlagParsing to app 2022-11-02 09:23:54 -04:00
Naveen Gogineni bb820560d9 Fix:(issue_1114) Add test case for -- 2022-11-02 09:22:36 -04:00
dearchap c3fccc031b Merge pull request #1561 from dearchap/ext_global_flags_optional
FIx: Allow ext flags to be opt-out by default rather than opt-in
2022-11-02 07:52:21 -04:00
Naveen Gogineni fb3a9cebb4 FIx: Allow ext flags to be opt-out by default rather than opt-in 2022-11-01 17:44:12 -04:00
dudu 6f52cd5493 Merge branch 'main' into issue_1550 2022-10-31 12:14:35 +08:00
万韬 b11badc45c make v2approve 2022-10-31 12:07:56 +08:00
万韬 76769bafc7 make v2approve 2022-10-31 11:46:40 +08:00
Edelweiss-Snow 47d325e64f Feature:(issue_1550):Add support Int64Slice by read toml config file
Feature:(issue_1550):add test flag test function
2022-10-31 10:54:49 +08:00
Naveen Gogineni f8a7cfe246 Chore: Add altsrc flag definition generation 2022-10-29 19:24:31 -04:00
dearchap ae8d932413 Feature:(issue_269) Allow external package flag definitions (#1540)
* Feature:(issue_269) Add compatibility with external package flag definitions

* Add tests

* Add defer to remove global flag

* Use ptr to receiver for extFlag

* Add const for flag prefix to ignore
2022-10-28 09:17:13 -04:00
dearchap c344b46a29 Feature:(issue_1090): Add unwrap for ExitCoder (#1545)
* Feature:(issue_1090): Add unwrap for ExitCoder

* Add simple test for error
2022-10-28 09:15:54 -04:00
GuangyuFan 63cb372cce Feature: (issue_1451) customized slice flag separator (#1546)
* feat: customized slice flag separator

* feat: modify go doc

* feat: update unit test
2022-10-27 17:32:00 +08:00
dearchap 82bdf5f42e Merge pull request #1549 from smalnote/smalnote/issue_1548
Fix:(issue_1548) Check root before run default cmd
2022-10-25 07:59:35 -04:00
dearchap 7563894fde Merge pull request #1544 from dearchap/issue_786
Documentation:(issue_786) Add docs for flag validation
2022-10-25 07:50:20 -04:00
devinnwang ba96587f56 Fix:(issue_1548) Check root before run default cmd 2022-10-25 14:44:52 +08:00
dearchap de73d1b341 Update docs/v2/examples/flags.md
Co-authored-by: Dan Buch <dan@meatballhat.com>
2022-10-24 04:02:15 -04:00
Josh Soref 7732a512f9 Spelling (#1543)
* spelling: available
* spelling: explicitly
* spelling: feel
* spelling: github
* spelling: individual
* spelling: inputting
* spelling: occurring
* spelling: overriding
* spelling: propagated
* spelling: recursively
* spelling: reuse
* spelling: single
* spelling: value

Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2022-10-23 23:50:47 +03:00
Naveen Gogineni 0dca2d8969 Add arg 2022-10-23 16:11:30 -04:00
Naveen Gogineni 9d0fdbe289 Add fmt import 2022-10-23 16:00:15 -04:00
Naveen Gogineni 31487e73a3 Documentation:(issue_786) Add docs for flag validation 2022-10-23 15:56:46 -04:00
dearchap 8ea10b85ca Merge pull request #1538 from dearchap/issue_1288 2022-10-22 15:51:14 -04:00
dearchap d1ac284402 Merge pull request #1537 from dearchap/issue_1263
Fix:(issue_1263) FlagNames should return names set via env as well
2022-10-22 15:49:26 -04:00
Naveen Gogineni 96bff3c5e1 Remove flag_windows and use runtime 2022-10-19 09:44:21 -04:00
Naveen Gogineni 374bbfb3da Revert flag_test.go 2022-10-19 09:34:59 -04:00