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
2 years ago
dearchap
c344b46a29
Feature:(issue_1090): Add unwrap for ExitCoder ( #1545 )
...
* Feature:(issue_1090): Add unwrap for ExitCoder
* Add simple test for error
2 years ago
GuangyuFan
63cb372cce
Feature: (issue_1451) customized slice flag separator ( #1546 )
...
* feat: customized slice flag separator
* feat: modify go doc
* feat: update unit test
2 years ago
dearchap
82bdf5f42e
Merge pull request #1549 from smalnote/smalnote/issue_1548
...
Fix:(issue_1548) Check root before run default cmd
2 years ago
dearchap
7563894fde
Merge pull request #1544 from dearchap/issue_786
...
Documentation:(issue_786) Add docs for flag validation
2 years ago
devinnwang
ba96587f56
Fix:(issue_1548) Check root before run default cmd
2 years ago
dearchap
de73d1b341
Update docs/v2/examples/flags.md
...
Co-authored-by: Dan Buch <dan@meatballhat.com>
2 years ago
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>
2 years ago
Naveen Gogineni
0dca2d8969
Add arg
2 years ago
Naveen Gogineni
9d0fdbe289
Add fmt import
2 years ago
Naveen Gogineni
31487e73a3
Documentation:(issue_786) Add docs for flag validation
2 years ago
dearchap
8ea10b85ca
Merge pull request #1538 from dearchap/issue_1288
2 years ago
dearchap
d1ac284402
Merge pull request #1537 from dearchap/issue_1263
...
Fix:(issue_1263) FlagNames should return names set via env as well
2 years ago
Naveen Gogineni
96bff3c5e1
Remove flag_windows and use runtime
2 years ago
Naveen Gogineni
374bbfb3da
Revert flag_test.go
2 years ago
dearchap
cf49ddb201
Merge pull request #1539 from urfave/issue_1276
...
Docs:(issue_1276) Make destination/value/default text clear
2 years ago
dearchap
a5b62b8a8b
Update docs/v2/examples/flags.md
...
Co-authored-by: Anatoli Babenia <anatoli@rainforce.org>
2 years ago
dearchap
8467e25560
Docs:(issue_1276) Make destination/value/default text clear
2 years ago
Naveen Gogineni
f460fd1c94
Run goimports
2 years ago
Naveen Gogineni
da8868ffd9
Fix:(issue_1288). Add windows specific env format
2 years ago
Naveen Gogineni
e302525d58
Fix:(issue_1263) FlagNames should return names set via env as well
2 years ago
dearchap
5ac0710c11
Merge pull request #1528 from dearchap/issue_1206
...
Fix:(issue_1206) Default value shouldnt depend on env variable or val…
2 years ago
Naveen Gogineni
e8b5e4a1d0
Fix windows compile
2 years ago
Naveen Gogineni
6b738dc4e5
Use withEnvHint instead of custom func
2 years ago
Naveen Gogineni
e320fd80a2
Fix windows env error
2 years ago
Naveen Gogineni
729a7c41ce
Fix:(issue_1206) Default value shouldnt depend on env variable or value set from cmdline
2 years ago
dearchap
39b1245772
Merge pull request #1533 from dearchap/fix_docs
...
Cleanup: Fix app.go formatting
2 years ago
Naveen Gogineni
bb8ddda480
Cleanup: Fix app.go formatting
2 years ago
dearchap
adcd0c970a
Merge pull request #1532 from dearchap/fix_docs
...
Docs: Fix docs from merged PR1498
2 years ago
Naveen Gogineni
7a5db9223d
Docs: Fix docs from merged PR1498
2 years ago
dearchap
0d0d329866
Merge pull request #1498 from dearchap/optimize_command_run
2 years ago
dearchap
33d08c39be
Update app.go
...
Co-authored-by: Dan Buch <dan@meatballhat.com>
2 years ago
Dan Buch
89e331ff27
Merge pull request #1526 from urfave/genflags-mod
...
Build and run `urfave-cli-genflags` via its `Makefile`
2 years ago
Naveen Gogineni
5100c9d4e9
Update docs
2 years ago
Naveen Gogineni
00afca42c8
Add RunAsSubcommand to keep API unchanged
2 years ago
Naveen Gogineni
4a109bc0ce
Fix tests
2 years ago
Naveen Gogineni
a9d6b0d821
Changes from code review
2 years ago
Naveen Gogineni
59095aa762
make cmd.Run use varargs
2 years ago
Dan Buch
e9f2ca42db
Use existing goimports installation if available
2 years ago
Dan Buch
6ec1f4bb44
Merge branch 'main' into genflags-mod
2 years ago
Naveen Gogineni
adcce134f3
Rebase origin
2 years ago
Naveen Gogineni
2047c6630c
Cleanup
2 years ago
Naveen Gogineni
00ef229486
Fix docs
2 years ago
Naveen Gogineni
2576c0ce4e
Fix docs
2 years ago
Naveen Gogineni
fa21c74096
Fix altsrc tests
2 years ago
Naveen Gogineni
bc9ae33465
Merge latest and fix tests
2 years ago
Naveen Gogineni
d5947d7814
Initial cut
2 years ago
dearchap
f37b9d9b60
Merge pull request #1430 from FGYFFFF/fix/stop_auto_sort_for_help
...
fix: stop automatic sorting for --help
2 years ago
Naveen Gogineni
bffaf3b78c
Update flags.md for docs change
2 years ago
Dan Buch
11915a875d
Build and run `urfave-cli-genflags` via its `Makefile`
...
so that `go.mod` files don't get all confused
2 years ago