Commit Graph

2296 Commits

Author SHA1 Message Date
Hayden
3b3b2cd7b9 rename filename to dirPath 2022-08-15 07:34:22 -08:00
dearchap
6ff3e8e164
Merge pull request #1454 from urfave/rearrange_slice_code
issue_62: Make slice options more posix like
2022-08-15 09:43:24 -04:00
Hayden
c6616c3e47 pass in correct root 2022-08-14 18:14:56 -08:00
Hayden
a41f215785 wip: add --walk flag to gfrun to accept directory 2022-08-14 16:49:20 -08:00
Naveen Gogineni
af3b50c2bb Changes from code review 2022-08-14 20:36:17 -04:00
Naveen Gogineni
b80ff3d32f issue_62: Make slice options more posix like 2022-08-14 20:36:17 -04:00
Hayden
dac1c40ee5 add tags and boost for pages 2022-08-14 16:11:56 -08:00
Hayden
286d5ada85 add tags plugin 2022-08-14 16:10:39 -08:00
Hayden
dec6654224 update sidebar configuration 2022-08-14 15:55:40 -08:00
Hayden
cbe642e806 breakup v2 documentation 2022-08-14 15:55:31 -08:00
Hayden
5361b381b8 split v1 docs into individual pages 2022-08-14 14:49:05 -08:00
ade5edbb7f
Use goimports as formatting standard
given some disagreement with gofmt that seems to have shown up in 1.19
2022-08-14 10:47:42 -04:00
27b456971b
Shift supported go versions
and approve word-wrapping changes to godoc
2022-08-14 10:31:53 -04:00
234972ef8f
Add missing go.sum entries for go 1.16.x 2022-08-14 10:22:18 -04:00
a8966ca1b9
Tidy up top-level go.mod 2022-08-14 10:06:26 -04:00
3e4237a67f
Move genflags tool to cmd/ and pin to previous release
to alleviate problems caused by the circular dependency of using the
same code as a library that is potentially being generated to adhere to
a different API.
2022-08-14 10:02:07 -04:00
dearchap
e3ee4fb3ef
Merge pull request #1444 from Dokiys/fix/add_after_before_help_check
Fix After not run
2022-08-13 08:27:21 -04:00
dearchap
0c9527f4b7
Merge pull request #1445 from Dokiys/fix/hidehelp_with_none_args
Fix HideHelp
2022-08-07 18:33:58 -04:00
Dokiy
1a1b9cd563 Fix HideHelp 2022-07-29 15:26:06 +08:00
Dokiy
a1c26d5491 Fix After not run 2022-07-29 11:05:32 +08:00
c8147a4845
Merge pull request #1439 from hmiyado/fix-timestamp-getvalue
Fix timestamp flag error when using help

--

I'm merging this with the codecov patch check failing because this fixes a bug in code that wasn't sufficiently covered prior to the fix. In other words, I don't consider this codecov failure to be specific to this PR.
2022-07-20 07:57:52 -04:00
miyado
6d67b2dc59 Fix for TimestampFlag.GetValue to return empty string without value 2022-07-18 16:33:53 +09: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