Commit Graph

2324 Commits

Author SHA1 Message Date
Tilo Prütz
889c7b5d7a TimestampFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
6b336c478f StringSliceFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
ce4d9279c4 StringFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
660184dd92 PathFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
6d7f859008 IntSliceFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
dcc47855b8 Int64SliceFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
18b44dfb29 Int64Flag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
bf18c00347 IntFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
8bd5fb2390 GenericFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
2f92fc644c Float64SliceFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
5047beb001 Float64Flag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
9eae255aac DurationFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
Tilo Prütz
baf8ae98de BoolFlag.ValueFromContext() as convenient accessor 2022-04-22 17:11:43 +02:00
849e7f0ec9
Merge branch 'main' into security-policy-doc 2022-04-22 10:56:41 -04:00
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
b7ee8fff31
Revert "Add Stale bot configuration per docs" 2022-04-22 10:49:09 -04:00
de39f0132b
Merge remote-tracking branch 'origin/main' into security-policy-doc 2022-04-22 10:43:17 -04:00
f1d0b0ef43
Add a security policy document
Closes #1342
2022-04-22 08:19:29 -04:00
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
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
9fd3cc92ad
Add tests around flag stringifying for all modified types 2022-04-21 23:02:44 -04:00
79ed8b5263
Drop desired min binary size accordingly 2022-04-21 20:35:22 -04:00
d83bb8d85e
Merge branch 'main' into remove_reflect 2022-04-21 20:22:26 -04:00
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
c4c15e1453
Writing tests around changes from #1186 2022-04-21 20:07:06 -04:00
7a231c5eb1
Merge branch 'main' into master 2022-04-21 19:31:22 -04:00
2e3b8fc06b
Merge pull request #1359 from urfave/deps-updates
Update dependencies and go.mod spec
2022-04-21 19:21:40 -04:00
6effd9fba8
Update dependencies and go.mod spec
Closes #1322
2022-04-21 19:11:01 -04:00
71dbc63e37
Merge remote-tracking branch 'origin/main' into v3-dev-main 2022-04-21 18:37:34 -04:00
5be9100fb3
Keep CI config compatible with main branch 2022-04-21 18:24:30 -04:00
cddccd3df5
Merge latest origin/main + target this branch in CI 2022-04-21 18:22:34 -04:00
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
7c50be3d7c
Switch branch references from master to main
Connected to #1349
2022-04-21 16:14:27 -04:00
850cf82509
Merge pull request #1353 from urfave/drop-go111module
Drop references/usage of GO111MODULE
2022-04-21 16:10:13 -04:00
22366116c3
Merge branch 'master' into drop-go111module 2022-04-21 16:02:17 -04:00
7f0e884542
Merge pull request #1352 from urfave/stalebot-config
Add Stale bot configuration per docs
2022-04-21 16:01:15 -04:00
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
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
64aad19eb5
Drop extra backslashes in continous command 2022-04-21 15:24:14 -04:00
902f5abbc8
Use correct go version strings; other general CI updates 2022-04-21 15:18:35 -04:00
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
5c6ccfb097
Add missing "fmt" import in example 2022-04-20 14:45:04 -04:00
8c33a078d1
Use go env correctly 2022-04-20 14:41:26 -04:00
17aa508d22
Switch to gfmrun v1.3.0 2022-04-20 14:38:32 -04:00
826b3edd3f
Merge branch 'report_source_of_parse_errors' of ssh://github.com/mostynb/cli into mostynb-report_source_of_parse_errors 2022-04-19 19:41:57 -04:00
d7bc33018b
Drop references/usage of GO111MODULE 2022-04-19 16:57:25 -04:00
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
4b238b8ff0
Merge branch 'master' into suggestions 2022-04-19 16:45:20 -04:00
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
Ihor Urazov
1150c2e180
Properly detect Zsh shell
There is no need to define custom shell var, when Zsh can be detected by
checking SHELL env var.
2022-04-19 16:25:16 -04:00