Commit Graph
100 Commits
Author SHA1 Message Date
meatballhat c5057d195e Only run generate on go 1.19 2022-10-09 09:51:19 -04:00
meatballhat 65c98c86ad Ensure "generate" step runs in CI prior to diff check 2022-10-09 09:51:19 -04:00
meatballhat a851a773a8 Point docs tests at v3 2022-10-03 10:12:37 -04:00
meatballhat f8faf77e43 Post-porting fixes for v3 2022-10-03 10:06:01 -04:00
meatballhat 5db9db6d38 Remove nonexistent phony targets
so that running `make` or `make all` only runs targets that exist.
2022-10-03 09:46:48 -04:00
meatballhat 1c3ebfab32 Accept the MKDOCS_REMOTE_GITHUB_TOKEN var as intended 2022-10-03 08:15:01 -04:00
meatballhat 9ed5a09fbb Use correct env var for global flags 2022-10-03 08:14:38 -04:00
meatballhat d6c9f6a898 Replace a few more custom make targets 2022-10-03 08:14:38 -04:00
meatballhat 0593812915 Only run make v2diff on go 1.19.x + ubuntu-latest 2022-10-03 08:14:38 -04:00
meatballhat 2bec081c3a Use windows compatible path append 2022-10-03 08:14:38 -04:00
meatballhat d9d960a58a Run make target after the Makefile is available 2022-10-03 08:14:37 -04:00
meatballhat 8cc0a9c5da Move more functionality into internal/build/build.go
and use make targets in CI, pass flag spec YAML through yq

includes result of running `make v2approve`
2022-10-03 08:14:37 -04:00
meatballhat 0658d61a0e Set codecov status thresholds to 5%
and rename file to be less dotty
2022-10-03 07:49:45 -04:00
meatballhat eea567aa20 Add a few notes to release docs
about the relationship to proxy.golang.org and automatically generated
release notes.
2022-10-02 21:02:11 -04:00
meatballhat 31edfd60a2 Explicitly pass CODECOV_TOKEN 2022-10-02 21:02:00 -04:00
meatballhat 8609031738 Update version of codecov action
given errors seen in other PRs using v2
2022-10-02 21:02:00 -04:00
meatballhat 1446649448 Use cli/v2 in genflags tool (for now?) 2022-10-02 20:59:36 -04:00
meatballhat d34a232baf Merge remote-tracking branch 'origin/v3-dev-main' into v3-porting 2022-10-02 20:16:11 -04:00
meatballhat bd44c95e0b Merge pull request #1494 from urfave/v3-mod-bump
Bump declared module and internal usage to `/v3/`
2022-10-02 20:09:15 -04:00
meatballhat a529996bf6 Merge pull request #1511 from urfave/v3-docs-off
Turn off docs publishing from v3 series
2022-10-02 20:08:54 -04:00
meatballhat 76bb9f100b Shift supported go versions
and approve word-wrapping changes to godoc
2022-10-02 10:30:39 -04:00
meatballhat cbc7f1ad1d Use goimports as formatting standard
given some disagreement with gofmt that seems to have shown up in 1.19
2022-10-02 10:26:48 -04:00
meatballhat 67b3de0285 Turn off docs publishing from v3 series 2022-10-02 09:19:29 -04:00
meatballhat a5313eb2d5 Add missing go.sum entries for go 1.16.x 2022-10-02 08:50:29 -04:00
meatballhat d8de3b5483 Tidy up top-level go.mod 2022-10-02 08:50:29 -04:00
meatballhat 2ca91434a8 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-10-02 08:50:29 -04:00
meatballhat 40d886b0e6 Add stub for v3 docs + point gfmrun there instead 2022-09-30 08:13:34 -04:00
meatballhat 22ff9a34c9 Soft revert go.mod version bump 2022-09-29 07:59:21 -04:00
meatballhat 93a3190684 Bump declared module and internal usage to /v3/ 2022-09-12 07:51:51 -04:00
meatballhat 887d31ffaf Target minimum go 1.18 in v3-dev-main 2022-07-16 12:10:51 -04:00
meatballhat 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
meatballhat c0f57e022b Merge remote-tracking branch 'origin/main' into merging-main-to-v3-dev-main 2022-07-16 08:03:43 -04:00
meatballhat 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
meatballhat 25116be3f5 Revert "Merging main to v3 dev main" 2022-07-16 07:58:10 -04:00
meatballhat 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
meatballhat a82c9b1433 Merge remote-tracking branch 'origin/main' into merging-main-to-v3-dev-main 2022-07-16 07:44:00 -04:00
meatballhat 8d46d3794f Approve v2 addition of timestamp/timezone/location 2022-07-10 12:16:59 -04:00
meatballhat 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
meatballhat 2e71cb8174 Merge pull request #1432 from julian7/timezoned-timestamp
accept timezone for timestamps
2022-07-10 12:14:04 -04:00
meatballhat d7504f847b Approve v2 addition of App.DefaultCommand
related to #1388
2022-06-24 07:55:49 -04:00
meatballhat d29120f08b Merge pull request #1388 from jalavosus/feature/default-command
feature: add DefaultCommand field to App
2022-06-24 07:52:04 -04:00
meatballhat e2a844fcee Merge pull request #1423 from urfave/docs-list-fix
Fix list formatting in v2 manual
2022-06-22 08:55:58 -04:00
meatballhat 6dd82af86b Fix list formatting in v2 manual 2022-06-22 08:29:12 -04:00
meatballhat 7d21dda232 Merge pull request #1421 from urfave/docs-cleanups
Clean up the v2 manual a bit
2022-06-22 07:56:12 -04:00
meatballhat 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
meatballhat f1fc873f1f Merge pull request #1418 from urfave/un-workaround
Remove temporary go mod workaround
2022-06-20 13:13:34 -04:00
meatballhat 9f56fe7088 Remove temporary go mod workaround 2022-06-20 11:07:56 -04:00
meatballhat f71d1cb6d2 Merge pull request #1417 from urfave/deps-bump
Update dependencies to latest
2022-06-20 11:05:25 -04:00
meatballhat 59ce32aad4 Update dependencies to latest 2022-06-20 09:35:57 -04:00
meatballhat 1362627dd7 Approve usage wrapping docs changes 2022-06-19 10:45:18 -04:00
meatballhat b927c6ad2f Merge pull request #1415 from urfave/upgrade-go-yaml
Upgrade gopkg.in/yaml to v3
2022-06-19 10:44:14 -04:00
meatballhat 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
meatballhat 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
meatballhat 3082652ad6 Update the v2 docs since merging #1409 2022-06-18 08:49:43 -04:00
meatballhat 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
meatballhat 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
meatballhat 813ab33ba0 Add some missing go.sum entries needed with 1.16.x 2022-05-24 08:18:55 -04:00
meatballhat 12a4c542ec Merge pull request #1402 from mostynb/fix_typo
Fix 'repetetive' typo
2022-05-24 08:11:38 -04:00
meatballhat 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
meatballhat 595cabc60c Merge pull request #1403 from urfave/gfmrun-current
Run docs tests against current work tree
2022-05-23 07:50:02 -04:00
meatballhat 8f47e6dc97 Set absolute bash path
and slightly revert assertion in docs test to ensure flag ordering
2022-05-23 07:44:58 -04:00
meatballhat 5edc1b95e8 Run docs tests against current work tree
by creating a temporary go workspace to be used by gfmrun via `TMPDIR`.
2022-05-22 22:18:00 -04:00
meatballhat 24197006ef Merge pull request #1399 from urfave/docs-pointer
Point to the docs tree and site from top-level README
2022-05-22 11:15:26 -04:00
meatballhat 9de0cd3c4a Merge pull request #1396 from urfave/suggestion-pluggability
Introduce override hooks for suggestions
2022-05-22 11:14:46 -04:00
meatballhat 9e65b4d085 Merge pull request #1368 from urfave/michaeljs1990-add-flag-category-support
Add flag category support (#796)
2022-05-22 11:14:20 -04:00
meatballhat 4bca72cea1 Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support 2022-05-22 11:06:38 -04:00
meatballhat 939ab7f9e7 Merge pull request #1365 from urfave/security-policy-doc
Add a security policy document
2022-05-22 09:53:13 -04:00
meatballhat 60a6bf5866 Merge pull request #1354 from urfave/mostynb-report_source_of_parse_errors
Merging mostynb report source of parse errors
2022-05-22 09:51:53 -04:00
meatballhat fc27cb08fc Merge remote-tracking branch 'origin/main' into mostynb-report_source_of_parse_errors 2022-05-22 09:44:39 -04:00
meatballhat f528cf0a1e Merge pull request #1350 from urfave/applying-pr1218
Another approach for zsh completion (#1218)
2022-05-22 09:40:38 -04:00
meatballhat e66017d73a Refinements to removal of zsh hack 2022-05-22 09:07:03 -04:00
meatballhat e66ce91db1 Merge remote-tracking branch 'origin/main' into applying-pr1218 2022-05-22 08:53:47 -04:00
meatballhat a78717f4f9 Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support 2022-05-19 07:40:56 -04:00
meatballhat 5c1c2ea35d Merge pull request #1400 from urfave/docs-publish-debugging
Docs publishing fixes
2022-05-18 23:23:23 -04:00
meatballhat b3359c3e27 Re-enable workflow conditions 2022-05-18 23:20:47 -04:00
meatballhat e7f3925a5a Use correct yaml multiline 🤦 2022-05-18 23:19:10 -04:00
meatballhat e592640fdb Unshallow the clone + toc cleanups 2022-05-18 23:17:57 -04:00
meatballhat 5988cc6040 Try running mkdocs steps directly 2022-05-18 23:13:45 -04:00
meatballhat 70e1ed4c9d Attempt to work around materialx yaml loader boom 2022-05-18 22:58:46 -04:00
meatballhat 522b7e0d92 Use existing secret name in docs publish step 2022-05-18 22:46:36 -04:00
meatballhat 660d25f14d Un-delete non-redundant docs 2022-05-18 22:37:44 -04:00
meatballhat 4536c8742d Point to the docs tree and site from top-level README 2022-05-18 22:34:28 -04:00
meatballhat 061250ade5 Use correctly spelled repo name in mkdocs config 2022-05-18 22:30:07 -04:00
meatballhat 5bb9f453dc Also make the did-you-mean template pluggable 2022-05-17 09:24:17 -04:00
meatballhat 68bd4903fd Introduce override hooks for suggestions
Related to https://github.com/urfave/cli/pull/1390#discussion_r871398659
2022-05-17 09:02:17 -04:00
meatballhat e770ee9794 Merge pull request #1390 from urfave/saschagrunert-suggestions
Add suggestions support (#977)
2022-05-17 08:59:47 -04:00
meatballhat f3cf7640c7 Backing out build tag for suggestions per recommendation
from @kolyshkin 🙇
2022-05-17 08:49:15 -04:00
meatballhat 3c923e7a44 Merge remote-tracking branch 'origin/main' into saschagrunert-suggestions 2022-05-17 08:45:13 -04:00
meatballhat 97a222b471 Merge pull request #1392 from urfave/mkdocs-setup
Mkdocs setup
2022-05-17 08:43:36 -04:00
meatballhat 3f5007dc76 Merge remote-tracking branch 'origin/main' into mkdocs-setup 2022-05-08 21:59:51 -04:00
meatballhat c468566272 Touching up more mkdocs details 2022-05-08 20:49:08 -04:00
meatballhat c11460548d Merge pull request #1393 from urfave/generate-req-viz
Generate RequiredFlag and VisibleFlag implementations
2022-05-08 20:21:34 -04:00
meatballhat bc9ad9fede Generate RequiredFlag and VisibleFlag implementations 2022-05-08 13:52:32 -04:00
meatballhat 8da1afc62b Un-rename manual docs + symlink instead 2022-05-08 11:38:41 -04:00
meatballhat 858ce7ee6d Initial mkdocs setup
Connected to #1343
2022-05-08 11:36:03 -04:00
meatballhat 9bd6349ed2 Add example app for suggestion in command
and further reduce example output diff potential
2022-05-07 23:06:43 -04:00
meatballhat 34eed95a8e Reduce amount of text compared in suggest example app 2022-05-07 22:06:39 -04:00
meatballhat 9da2c564f8 Add example app with Suggest support 2022-05-07 20:57:44 -04:00
meatballhat 974f2d410d Guard suggestion capability (+ dependency) with build tag 2022-05-07 15:21:00 -04:00
meatballhat 63b1a7deee A few follow-up conflict resolutions 2022-05-07 14:43:15 -04:00