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
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
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
c0f57e022b
Merge remote-tracking branch 'origin/main' into merging-main-to-v3-dev-main
2022-07-16 08:03:43 -04:00
a91950ff53
Merge pull request #1436 from urfave/revert-1435-merging-main-to-v3-dev-main
...
Revert "Merging main to v3 dev main"
2022-07-16 08:01:38 -04:00
25116be3f5
Revert "Merging main to v3 dev main"
2022-07-16 07:58:10 -04:00
f8124ae3fb
Merge pull request #1435 from urfave/merging-main-to-v3-dev-main
...
Merging main to v3 dev main
2022-07-16 07:55:46 -04:00
a82c9b1433
Merge remote-tracking branch 'origin/main' into merging-main-to-v3-dev-main
2022-07-16 07:44:00 -04:00
8d46d3794f
Approve v2 addition of timestamp/timezone/location
2022-07-10 12:16:59 -04:00
8b41988ab6
Merge pull request #1426 from urfave/default-command-doc
...
Approve v2 addition of App.DefaultCommand
@jalavosus FYI I'm merging this now with the intent to tag and push `v2.11.0`, and I'm happy to see further documentation improvements released later.
2022-07-10 12:16:14 -04:00
2e71cb8174
Merge pull request #1432 from julian7/timezoned-timestamp
...
accept timezone for timestamps
2022-07-10 12:14:04 -04:00
Balazs Nagy
1335a7022a
accept timezone for timestamps
2022-07-09 13:52:55 +02:00
d7504f847b
Approve v2 addition of App.DefaultCommand
...
related to #1388
2022-06-24 07:55:49 -04:00
d29120f08b
Merge pull request #1388 from jalavosus/feature/default-command
...
feature: add DefaultCommand field to App
2022-06-24 07:52:04 -04:00
e2a844fcee
Merge pull request #1423 from urfave/docs-list-fix
...
Fix list formatting in v2 manual
2022-06-22 08:55:58 -04:00
6dd82af86b
Fix list formatting in v2 manual
2022-06-22 08:29:12 -04:00
7d21dda232
Merge pull request #1421 from urfave/docs-cleanups
...
Clean up the v2 manual a bit
2022-06-22 07:56:12 -04:00
James Alavosus
d8c93f867b
app_test.go: add tests for default command + flag
2022-06-21 19:50:27 -04:00
James Alavosus
1dfa9827f6
gofmt
2022-06-21 19:30:07 -04:00
James Alavosus
1b3da50f16
Add test cases for subcommands of default command
2022-06-21 19:30:07 -04:00
James Alavosus
77feee843d
Implement slightly wonky setup for checking against ...
...
subcommand names of a default command (should it be set)
2022-06-21 19:30:05 -04:00
James Alavosus
32dec1ddaa
feature: add DefaultCommand field to App
...
See issue #1307 for context.
2022-06-21 19:28:59 -04:00
58ccb0bf28
Clean up the v2 manual a bit
...
includes:
- running each example through `goimports`
- wrapping text at ~80 cols
- consistently using `&cli.App{...}`
- consistently using code example gates
- removing trailing blankspace
2022-06-20 17:08:10 -04:00
f1fc873f1f
Merge pull request #1418 from urfave/un-workaround
...
Remove temporary go mod workaround
2022-06-20 13:13:34 -04:00
9f56fe7088
Remove temporary go mod workaround
2022-06-20 11:07:56 -04:00
f71d1cb6d2
Merge pull request #1417 from urfave/deps-bump
...
Update dependencies to latest
2022-06-20 11:05:25 -04:00
59ce32aad4
Update dependencies to latest
2022-06-20 09:35:57 -04:00
1362627dd7
Approve usage wrapping docs changes
2022-06-19 10:45:18 -04:00
b927c6ad2f
Merge pull request #1415 from urfave/upgrade-go-yaml
...
Upgrade gopkg.in/yaml to v3
2022-06-19 10:44:14 -04:00
Jesse Szwedko
72dc91db74
Re-use node
variable
...
Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
2022-06-18 13:38:22 -07:00
Jesse Szwedko
ee0756044c
Upgrade gopkg.in/yaml to v3
...
Fixes vulnerability: https://github.com/advisories/GHSA-hp87-p4gw-j4gq
YAML v3 deserializes maps as map[string]interface{} so we handle this in
MapImportSource now.
Signed-off-by: Jesse Szwedko <jesse@szwedko.me>
2022-06-18 11:49:24 -07:00
e576ba4022
Merge pull request #1119 from mostynb/word_wrap_v2
...
Add word-wrap support, with wrap length provided by the user
2022-06-18 10:14:16 -04:00
2d1634cba6
Merge pull request #1412 from urfave/update-v2-docs
...
Update the v2 docs since merging #1409
2022-06-18 09:49:05 -04:00
3082652ad6
Update the v2 docs since merging #1409
2022-06-18 08:49:43 -04:00
8007c54e1d
Merge pull request #1409 from joeycumines/main
...
Add SliceFlag wrapper and fix bugs in existing implementations
2022-06-18 08:48:03 -04:00
Joseph Cumines
4f795e3870
Fix build for go < 1.18
2022-06-13 08:23:41 +10:00
Joseph Cumines
e77dd7bb68
Add SliceFlag wrapper and fix bugs in existing implementations
...
The SliceFlag implementation and associated aliases (MultiStringFlag, etc)
extend the existing slice implementations (StringSliceFlag, etc) to support
actual slices as the flag value and destination.
This change also fixes various bugs in the existing implementation. Notably,
the StringSliceFlag.Apply implementation would modify the input (default)
Value, if an env var was set, and no destination was provided. The bugs fixed
in the other three implementations were all already fixed in either
StringSliceFlag, or in one case (ignoring empty env var) in Float64SliceFlag.
2022-06-07 08:54:57 +10:00
947f9894ee
Merge pull request #1407 from urfave/missing-go-sums
...
Add some missing go.sum entries needed with 1.16.x
2022-05-24 08:25:35 -04:00
813ab33ba0
Add some missing go.sum entries needed with 1.16.x
2022-05-24 08:18:55 -04:00
12a4c542ec
Merge pull request #1402 from mostynb/fix_typo
...
Fix 'repetetive' typo
2022-05-24 08:11:38 -04:00
5ff4e2ac38
Merge pull request #1405 from AkihiroSuda/remove-gpl2-dependency
...
Remove GPL2 dependency introduced in v2.7.0
2022-05-24 08:07:41 -04:00
Akihiro Suda
3e31c9b44c
CI: workaround for golang.org/x/tools error
...
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-05-24 15:30:02 +09:00
Akihiro Suda
a14bd76b6b
Remove GPL2 dependency introduced in v2.7.0
...
This commit replaces github.com/antzucaro/matchr (GPL2, introduced in v2.7.0)
with github.com/xrash/smetrics (MIT License).
Fixes issue 1404
Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2022-05-24 15:27:35 +09:00
Mostyn Bramley-Moore
eecfd0046b
Fix 'repetetive' typo
2022-05-23 22:05:31 +02:00