Commit Graph

2296 Commits

Author SHA1 Message Date
34eed95a8e
Reduce amount of text compared in suggest example app 2022-05-07 22:06:39 -04:00
9da2c564f8
Add example app with Suggest support 2022-05-07 20:57:44 -04:00
974f2d410d
Guard suggestion capability (+ dependency) with build tag 2022-05-07 15:21:00 -04:00
63b1a7deee
A few follow-up conflict resolutions 2022-05-07 14:43:15 -04:00
3d67b75be7
Merge branch 'suggestions' of ssh://github.com/saschagrunert/cli into saschagrunert-suggestions 2022-05-07 14:40:04 -04:00
32be625ece
Use google group email addresses 2022-05-07 09:30:42 -04:00
31d60903db
Merge remote-tracking branch 'origin/main' into security-policy-doc 2022-05-07 09:23:36 -04:00
04f5ff0315
Merge branch 'main' into mostynb-report_source_of_parse_errors 2022-05-07 08:57:48 -04:00
6c811a82df
Merge branch 'main' into applying-pr1218 2022-05-07 08:57:31 -04:00
21d435d4d1
Adapt flag generation for flag categories 2022-05-07 08:50:09 -04:00
ae97940956
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support 2022-05-07 08:45:57 -04:00
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
2b272642ca
Merge branch 'main' into semver-approval-gate 2022-05-06 22:25:48 -04:00
48f612c60d
Merge pull request #1382 from urfave/generating-flags-again
Generate flag types (again?)
2022-05-06 22:25:16 -04:00
16d5d5a3df
Some changes per feedback in #1368 2022-05-06 22:23:17 -04:00
f1834d176f
Update docs with corrected flag value 2022-05-04 23:12:27 -04:00
8270a2ed98
Merge remote-tracking branch 'origin/generating-flags-again' into semver-approval-gate 2022-05-04 23:11:50 -04:00
2ac3904d12
Include * in documented flag value type when applicable 2022-05-04 23:11:05 -04:00
3288bec5be
Introduce a v2.x semver approval gate 2022-05-04 10:32:29 -04:00
71cd131794
Add more tests to flag generation code 2022-05-01 23:36:59 -04:00
adc61ca06b
Add another missing go.sum entry (?) 2022-05-01 23:18:16 -04:00
2630f2642a
Add missing go.sum entry
plus minor touchups to genflags app
2022-05-01 23:16:59 -04:00
ed0033984b
Generate flag types (again?)
Closes #1381
2022-05-01 23:02:05 -04:00
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
e7db6af492
Merge remote-tracking branch 'origin/main' into mostynb-report_source_of_parse_errors 2022-04-30 14:19:06 -04:00
f3ef95f8cc
Tighten up restriction on SHELL match 2022-04-30 14:16:54 -04:00
56837b07d3
Merge remote-tracking branch 'origin/main' into applying-pr1218 2022-04-30 14:15:48 -04:00
156eaafb22
Rework flag categories a bit
with internal maps instead of slices and slightly less public API
surface area
2022-04-30 08:59:50 -04:00
ddac788d85
Correct doc comment per feedback 2022-04-28 20:42:24 -04:00
a583a102fd
Merge remote-tracking branch 'origin/main' into michaeljs1990-add-flag-category-support 2022-04-28 20:29:09 -04:00
8cc43782ed
Merge branch 'main' into feature/1316-simplified_flag_value_access 2022-04-26 08:12:17 -04:00
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
a07f0d18cf
Merge pull request #1371 from urfave/release-metadata
Cleaning up some release-related metadata & docs
2022-04-26 07:58:08 -04:00
1bef0318f9
Footnote update per feedback in #1365 2022-04-26 07:52:30 -04:00
77fb75adf7
Merge pull request #1375 from kolyshkin/no-docs
Add `urfave_cli_no_docs` build tag
2022-04-25 23:13:25 -04:00
e20d3d4d0f
Merge branch 'main' into no-docs 2022-04-25 23:09:17 -04:00
924052a2f3
Merge pull request #1346 from jolheiser/hidden-flag
Exclude hidden sub-command flags from docs
2022-04-25 23:05:43 -04:00
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
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
cdb1730b7d
Drop extra if condition 2022-04-25 22:21:46 -04:00
8fe4d792d1
Merge branch 'main' into duration-default-regression 2022-04-25 22:20:14 -04:00
ac641ffda5
Add more test coverage around unset input source applying 2022-04-25 22:15:39 -04:00
dbeef68cbf
Merge pull request #1374 from 53jk1/main
Remove some unused code
2022-04-25 21:42:13 -04:00
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
efe04493fc
Only apply altsrc input source values when set
Closes #1373
2022-04-25 20:43:43 -04:00
b42bf698a1
Add note about looming EOL of v1 2022-04-25 20:24:10 -04:00
e3aa8d3246
Add failing test for #1373 2022-04-25 20:16:01 -04:00
Kir Kolyshkin
b8cb475418 ci: test newly added tag
We run test with the tag set (to make sure nothing is broken),
and also the check-binary-size target (for informational purposes only).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2022-04-25 10:58:31 -07:00
Kir Kolyshkin
49e43beba3 Add urfave_cli_no_docs build tag
This removes the resulting binary dependency on cpuguy83/md2man and
russross/blackfriday, which saves more than 400 KB (more than 300 KB
once stripped) from the resulting binary.

Document this in README.
2022-04-25 10:16:31 -07:00
Kacper Bąk
4c7b46cb24 fix: clean code 2022-04-25 19:11:11 +02:00