Commit Graph
100 Commits
Author SHA1 Message Date
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 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 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
meatballhat 71cd131794 Add more tests to flag generation code 2022-05-01 23:36:59 -04:00
meatballhat adc61ca06b Add another missing go.sum entry (?) 2022-05-01 23:18:16 -04:00
meatballhat 2630f2642a Add missing go.sum entry
plus minor touchups to genflags app
2022-05-01 23:16:59 -04:00
meatballhat ed0033984b Generate flag types (again?)
Closes #1381
2022-05-01 23:02:05 -04:00
meatballhat cbd9bd97e8 Merge pull request #1367 from toaster/feature/1316-simplified_flag_value_access
Simplified flag value access
2022-04-30 20:53:22 -04:00
meatballhat 8cc43782ed Merge branch 'main' into feature/1316-simplified_flag_value_access 2022-04-26 08:12:17 -04:00
meatballhat 76418f2642 Merge pull request #1377 from urfave/vipally-ally_fix_multi_val
Accept multi-value input on slice flags (#1241)
2022-04-26 08:09:18 -04:00
meatballhat a07f0d18cf Merge pull request #1371 from urfave/release-metadata
Cleaning up some release-related metadata & docs
2022-04-26 07:58:08 -04:00
meatballhat 77fb75adf7 Merge pull request #1375 from kolyshkin/no-docs
Add `urfave_cli_no_docs` build tag
2022-04-25 23:13:25 -04:00
meatballhat e20d3d4d0f Merge branch 'main' into no-docs 2022-04-25 23:09:17 -04:00
meatballhat 924052a2f3 Merge pull request #1346 from jolheiser/hidden-flag
Exclude hidden sub-command flags from docs
2022-04-25 23:05:43 -04:00
meatballhat 6538e95d65 Merge branch 'ally_fix_multi_val' of ssh://github.com/vipally/cli into vipally-ally_fix_multi_val 2022-04-25 22:45:39 -04:00
meatballhat e275e95e2c Merge pull request #1376 from urfave/duration-default-regression
Do not apply altsrc input values that are not set
2022-04-25 22:30:13 -04:00
meatballhat cdb1730b7d Drop extra if condition 2022-04-25 22:21:46 -04:00
meatballhat 8fe4d792d1 Merge branch 'main' into duration-default-regression 2022-04-25 22:20:14 -04:00
meatballhat ac641ffda5 Add more test coverage around unset input source applying 2022-04-25 22:15:39 -04:00
meatballhat dbeef68cbf Merge pull request #1374 from 53jk1/main
Remove some unused code
2022-04-25 21:42:13 -04:00
meatballhat fe1468cc86 Make the altsrc input source context isSet method private
so that it doesn't extend the public surface area, instead focusing on
being a bugfix _only_.
2022-04-25 20:49:31 -04:00
meatballhat efe04493fc Only apply altsrc input source values when set
Closes #1373
2022-04-25 20:43:43 -04:00
meatballhat e3aa8d3246 Add failing test for #1373 2022-04-25 20:16:01 -04:00
meatballhat b58a588b89 Merge branch 'main' into release-metadata 2022-04-24 13:17:15 -04:00
meatballhat 59ec2a1d5a Merge pull request #1262 from dearchap/issue_1199
Allow -ve values for int, float & duration
2022-04-24 13:14:41 -04:00
meatballhat f6c020fa09 Spelling fixes thanks to @asmaloney 🙇 2022-04-24 12:59:12 -04:00
meatballhat 11b3a30b4a Add a new document specifically for releasing 2022-04-24 09:17:59 -04:00
meatballhat 68da1cd6bc Merge remote-tracking branch 'origin/main' into release-metadata 2022-04-24 08:27:02 -04:00
meatballhat c864c2425e Merge pull request #1260 from dearchap/issue_1254
Add test case for short option handling
2022-04-24 08:25:02 -04:00
meatballhat de589511d8 Nit updates to changelog admonition 2022-04-24 08:14:05 -04:00
meatballhat f1ce5c74b0 Cleaning up some release-related metadata 2022-04-24 08:10:33 -04:00
meatballhat 801780fcc1 Merge pull request #1370 from urfave/unshadow-context
Unshadow `context` package
2022-04-24 07:56:00 -04:00
meatballhat 9ce946162f Unshadow context package
and consistently name `*cli.Context` vars and method receivers `cCtx`
2022-04-23 22:07:16 -04:00
meatballhat 6033c008f2 Merge pull request #1366 from urfave/revert-1352-stalebot-config
Revert "Add Stale bot configuration per docs"
2022-04-22 10:56:21 -04:00
meatballhat b7ee8fff31 Revert "Add Stale bot configuration per docs" 2022-04-22 10:49:09 -04:00
meatballhat 3b6436c36d Pass non-empty string slice to example app Run (#1364)
so that it does not panic when run.
2022-04-22 06:35:07 -04:00
meatballhat f04607a18b Merge pull request #1361 from urfave/dearchap-remove_reflect
Remove reflect calls for doc generation (#1259)
2022-04-21 23:07:28 -04:00
meatballhat 9fd3cc92ad Add tests around flag stringifying for all modified types 2022-04-21 23:02:44 -04:00
meatballhat 79ed8b5263 Drop desired min binary size accordingly 2022-04-21 20:35:22 -04:00
meatballhat d83bb8d85e Merge branch 'main' into remove_reflect 2022-04-21 20:22:26 -04:00
meatballhat 372ee0a551 Merge pull request #1360 from urfave/schollz-master
show only subcommand flags with bash completion (#1186)
2022-04-21 20:15:12 -04:00
meatballhat c4c15e1453 Writing tests around changes from #1186 2022-04-21 20:07:06 -04:00
meatballhat 7a231c5eb1 Merge branch 'main' into master 2022-04-21 19:31:22 -04:00
meatballhat 2e3b8fc06b Merge pull request #1359 from urfave/deps-updates
Update dependencies and go.mod spec
2022-04-21 19:21:40 -04:00
meatballhat 6effd9fba8 Update dependencies and go.mod spec
Closes #1322
2022-04-21 19:11:01 -04:00
meatballhat 9e59db8b32 Merge pull request #1358 from urfave/trunk-is-main
Switch branch references from `master` to `main`
2022-04-21 17:55:02 -04:00
meatballhat 7c50be3d7c Switch branch references from master to main
Connected to #1349
2022-04-21 16:14:27 -04:00
meatballhat 850cf82509 Merge pull request #1353 from urfave/drop-go111module
Drop references/usage of GO111MODULE
2022-04-21 16:10:13 -04:00
meatballhat 22366116c3 Merge branch 'master' into drop-go111module 2022-04-21 16:02:17 -04:00
meatballhat 7f0e884542 Merge pull request #1352 from urfave/stalebot-config
Add Stale bot configuration per docs
2022-04-21 16:01:15 -04:00
meatballhat 2e81fd08e4 Merge pull request #1357 from urfave/be-ye-disabling-of-yon-shield
Attempting to soften the barrier to entry
2022-04-21 16:00:23 -04:00
meatballhat 16a163bbb2 Bump matrix of supported Go versions (#1351)
* Bump matrix of supported Go versions

to test on the latest release (^1.18) and drop testing/supporting ^1.15.

* Switch to gfmrun v1.3.0

* Use `go env` correctly

* Add missing `"fmt"` import in example

* Use correct go version strings; other general CI updates

* Drop extra backslashes in continous command
2022-04-21 15:32:32 -04:00
meatballhat 64aad19eb5 Drop extra backslashes in continous command 2022-04-21 15:24:14 -04:00
meatballhat 902f5abbc8 Use correct go version strings; other general CI updates 2022-04-21 15:18:35 -04:00
meatballhat e63054a42e Attempting to soften the barrier to entry
and also removing issue title formatting that overlaps with label
functionality
2022-04-21 15:07:45 -04:00
meatballhat 5c6ccfb097 Add missing "fmt" import in example 2022-04-20 14:45:04 -04:00
meatballhat 8c33a078d1 Use go env correctly 2022-04-20 14:41:26 -04:00
meatballhat 17aa508d22 Switch to gfmrun v1.3.0 2022-04-20 14:38:32 -04:00
meatballhat d7bc33018b Drop references/usage of GO111MODULE 2022-04-19 16:57:25 -04:00
meatballhat e61b99e19a Add Stale bot configuration per docs
with (greatly) extended values for `daysUntilStale` and `daysUntilClose`
per suggestion.
2022-04-19 16:51:13 -04:00
meatballhat 4b238b8ff0 Merge branch 'master' into suggestions 2022-04-19 16:45:20 -04:00
meatballhat 12b9c9d420 Bump matrix of supported Go versions
to test on the latest release (^1.18) and drop testing/supporting ^1.15.
2022-04-19 16:32:23 -04:00
meatballhat 8e01ec4cd3 Merge pull request #598 from urfave/backport-json-support
Backport JSON InputSource to v1
2018-02-25 22:02:53 -05:00
meatballhat 8dc47eb3cb Merge branch 'master' into backport-json-support 2018-02-25 16:09:48 -05:00
meatballhat d4bf9ce860 Merge pull request #498 from urfave/merging-jereksel-zsh
Merging #489 (plus hack)
2018-02-25 16:09:04 -05:00
meatballhat e59e4743b8 Merge branch 'master' into merging-jereksel-zsh 2018-02-24 22:02:40 -05:00
meatballhat b09aafdfe9 Merge pull request #681 from urfave/check-run-error-in-readme
Update README examples to check for errors
2018-02-24 22:02:19 -05:00
meatballhat 5fc8124af1 Merge branch 'master' into merging-jereksel-zsh 2018-02-24 21:58:26 -05:00
meatballhat bc77a15c69 Merge branch 'master' into check-run-error-in-readme 2018-02-24 21:54:06 -05:00
meatballhat 45289ea7a0 Adjust contribution and maintainer prose per current reality 2018-02-20 12:40:43 -05:00
meatballhat 59e1ddb43e Merge branch 'master' into check-run-error-in-readme 2018-02-13 15:27:04 -05:00
meatballhat 50a0fdeea6 Merge pull request #655 from urfave/merging-from-v1
Merging from v1
2017-08-14 09:43:17 -04:00
meatballhat 5dc55f2287 Merge branch 'master' into master 2017-08-13 12:42:49 -04:00
meatballhat f017f86fcc Merge pull request #659 from urfave/define-flag-precedence
Define flag source precedence in README
2017-08-13 10:59:49 -04:00
meatballhat 44c648739b Merge branch 'master' into define-flag-precedence 2017-08-13 10:54:04 -04:00
meatballhat 2903b76a12 Merge branch 'v1' into master 2017-08-03 17:58:28 -04:00
meatballhat 9128fe1c38 Merge pull request #652 from urfave/travis-tweaks
Update travis config
2017-08-03 17:57:53 -04:00
meatballhat 688c5a9d4f Merge branch 'master' into merging-jereksel-zsh 2017-08-03 14:38:20 -04:00
meatballhat 7250c97913 Merge branch 'master' into merging-jereksel-zsh 2016-12-21 15:11:00 -05:00
meatballhat d86a009f5e Merge pull request #556 from urfave/use-assertions-over-reflection
Use type assertions rather than reflection to determine how to call the `Action`
2016-11-02 09:18:01 -04:00
meatballhat 86b8c43eaf Merge pull request #521 from urfave/update-wording-around-gopkgin
Update wording around gopkg.in pinning to be more accurate
2016-09-11 14:27:17 -04:00
meatballhat b425397570 Merge branch 'master' into update-wording-around-gopkgin 2016-09-11 11:43:05 -04:00