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
Naveen Gogineni
81f9145708
Refactor code
2 years ago
Naveen Gogineni
8227be1fe9
Add tests for command.VisibleFlagCategory
2 years ago
Naveen Gogineni
e62a087117
Run make v2approve
2 years ago
Naveen Gogineni
02613e50be
Fix tests
2 years ago
范广宇
1ada1a1c06
fix: stop automatic sorting for --help
2 years ago
dearchap
f64acc4404
Merge pull request #1502 from dearchap/issue_1500
...
Fix:(issue_1500). Fix slice flag value duplication issue
2 years ago
dearchap
fb23ff4aa2
Merge branch 'main' into issue_1500
2 years ago
dearchap
2a4809f3af
Merge pull request #1506 from dearchap/issue_1505
...
Fix:(issue_1505) Fix flag alignment in help
2 years ago
dearchap
86809cef4b
Merge branch 'main' into issue_1505
2 years ago
dearchap
8f469abc00
Merge pull request #1442 from nkuba/generit-flag-destination-pointer
...
Configure GenericFlag's Destination type as struct not pointer
2 years ago
Naveen Gogineni
67f293a1e5
Revert main_test
2 years ago
Naveen Gogineni
a9c758e55f
Fix compile
2 years ago
Naveen Gogineni
d724a63144
After rebase
2 years ago
Jakub Nowakowski
c472192257
Add unit test for GenericFlag Destination parsing
...
The test checks if Destination provided in GenericFlag is being set as
expected.
2 years ago
Jakub Nowakowski
a2541e0fe4
Set destination in GenericFlag apply function
...
The function was missing destination configuration.
2 years ago
Jakub Nowakowski
891ffb017b
Add DestinationPointer for flags generator
...
In this commit I added a DestinationPointer variable that should be set
if the `Destination` should be configured as a pointer for a specific
flag type. It is expected that Generic type which is an interface will
not be a pointer but a struct. Before this change the code compilation
was failing with `type *Generic is pointer to interface, not interface`.
See https://github.com/urfave/cli/issues/1441
2 years ago
dearchap
b68db8d010
Merge pull request #1504 from urfave/generate-in-ci
...
Ensure "generate" step runs in CI prior to diff check
2 years ago
Naveen Gogineni
194ed2bb9b
Remove extra 3 spaces in last line
2 years ago
Naveen Gogineni
d5a1252ef3
Add test coverage for Command.VisibleCommands()
2 years ago
Naveen Gogineni
05db729d66
Do make v2approve
2 years ago