Commit Graph
100 Commits
Author SHA1 Message Date
meatballhat da7efeb63b Use windows compatible path append 2022-09-11 16:37:56 -04:00
meatballhat ff1138c969 Run make target after the Makefile is available 2022-09-11 16:12:16 -04:00
meatballhat 12a3c62e50 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-09-11 16:02:48 -04:00
meatballhat 6124f3ad9e Merge pull request #1486 from urfave/codecov-threshold-tweaks
Set codecov status thresholds to 5%
2022-09-10 13:12:32 -04:00
meatballhat ee4ff8f8ff Set codecov status thresholds to 5%
and rename file to be less dotty
2022-09-10 10:29:41 -04:00
meatballhat b1b1b27260 Merge pull request #1479 from urfave/release-process-notes
Add a few notes to release docs
2022-09-06 09:05:48 -04:00
meatballhat f1b2ed0409 Merge branch 'main' into release-process-notes 2022-09-06 07:43:47 -04:00
meatballhat 94c9951e4a Merge pull request #1480 from urfave/update-codecov-action
Update version of codecov action
2022-09-06 07:43:34 -04:00
meatballhat 6245c0a06c Explicitly pass CODECOV_TOKEN 2022-09-05 13:14:09 -04:00
meatballhat 42c6c3876e Update version of codecov action
given errors seen in other PRs using v2
2022-09-05 13:07:41 -04:00
meatballhat 49f6440a18 Add a few notes to release docs
about the relationship to proxy.golang.org and automatically generated
release notes.
2022-09-05 12:03:38 -04:00
meatballhat 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
meatballhat 27b456971b Shift supported go versions
and approve word-wrapping changes to godoc
2022-08-14 10:31:53 -04:00
meatballhat 234972ef8f Add missing go.sum entries for go 1.16.x 2022-08-14 10:22:18 -04:00
meatballhat a8966ca1b9 Tidy up top-level go.mod 2022-08-14 10:06:26 -04:00
meatballhat 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
meatballhat 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
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
meatballhat 3d67b75be7 Merge branch 'suggestions' of ssh://github.com/saschagrunert/cli into saschagrunert-suggestions 2022-05-07 14:40:04 -04:00
meatballhat 32be625ece Use google group email addresses 2022-05-07 09:30:42 -04:00
meatballhat 31d60903db Merge remote-tracking branch 'origin/main' into security-policy-doc 2022-05-07 09:23:36 -04:00
meatballhat 04f5ff0315 Merge branch 'main' into mostynb-report_source_of_parse_errors 2022-05-07 08:57:48 -04:00
meatballhat 6c811a82df Merge branch 'main' into applying-pr1218 2022-05-07 08:57:31 -04:00
meatballhat 21d435d4d1 Adapt flag generation for flag categories 2022-05-07 08:50:09 -04:00
meatballhat ae97940956 Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support 2022-05-07 08:45:57 -04:00
meatballhat c6f7393473 Merge pull request #1385 from urfave/semver-approval-gate
Introduce a v2.x semver approval gate
2022-05-07 08:35:02 -04:00
meatballhat 2b272642ca Merge branch 'main' into semver-approval-gate 2022-05-06 22:25:48 -04:00
meatballhat 48f612c60d Merge pull request #1382 from urfave/generating-flags-again
Generate flag types (again?)
2022-05-06 22:25:16 -04:00
meatballhat 16d5d5a3df Some changes per feedback in #1368 2022-05-06 22:23:17 -04:00
meatballhat f1834d176f Update docs with corrected flag value 2022-05-04 23:12:27 -04:00
meatballhat 8270a2ed98 Merge remote-tracking branch 'origin/generating-flags-again' into semver-approval-gate 2022-05-04 23:11:50 -04:00
meatballhat 2ac3904d12 Include * in documented flag value type when applicable 2022-05-04 23:11:05 -04:00
meatballhat 3288bec5be Introduce a v2.x semver approval gate 2022-05-04 10:32:29 -04:00