Commit Graph

40 Commits

Author SHA1 Message Date
Roberto Hidalgo
4ffa7ba364 add SetOutput to logger for testing convenience 2024-06-19 17:27:47 -06:00
Roberto Hidalgo
51e6c01c5a remove statuscode.RenderHelp 2024-06-19 14:16:10 -06:00
Roberto Hidalgo
035b70af70 bump to go 1.22, deps 2024-05-21 00:06:45 -06:00
Roberto Hidalgo
ed71652c98 fix int to string, bump to go 1.21 2024-04-19 23:47:15 -06:00
Roberto Hidalgo
e1fb0ef7f1 actually allow repeated options 2024-04-19 22:10:38 -06:00
Roberto Hidalgo
614119b22d return root on tree if found 2023-09-25 19:08:23 -06:00
Roberto Hidalgo
d3e5afbdfc cobraize once, prevent parsing errors from panics 2023-09-24 23:04:13 -06:00
Roberto Hidalgo
de1c898f0d fix broken group command descriptions if available 2023-09-24 14:33:44 -06:00
Roberto Hidalgo
d484347aa3 bump deps 2023-09-04 23:53:06 -06:00
Roberto Hidalgo
7b17646738 allow setting group-scoped flags 2023-04-03 18:13:42 -06:00
Roberto Hidalgo
fef0a55288 remove version from global options 2023-03-24 00:44:47 -06:00
Roberto Hidalgo
6ec1c56f0f more color, less env vars 2023-03-23 19:51:36 -06:00
Roberto Hidalgo
5c37bbb9f8 reoganize help template additionalhelp 2023-03-23 00:14:43 -06:00
Roberto Hidalgo
af7fcee50b tweak error colors 2023-03-21 23:12:12 -06:00
Roberto Hidalgo
4c0d40c631 crazy computers are crazy. go package documentation 2023-03-21 00:28:25 -06:00
Roberto Hidalgo
725347ec48 error on unexpected arguments, test out logger, add .milpa
courtesy of the department of departamental recursiveness
2023-03-20 22:18:09 -06:00
Roberto Hidalgo
7fab6d66d8 even more colors 2023-03-20 00:34:09 -06:00
Roberto Hidalgo
eea360d7d6 add logger 2023-03-20 00:15:53 -06:00
Roberto Hidalgo
771917d2fc tweak help/--help 2023-03-19 19:18:10 -06:00
Roberto Hidalgo
5b405d6747 serialize command.Path in lowercase 2023-03-18 19:50:46 -06:00
Roberto Hidalgo
776a49ba31 remove validargs from group/virtual commands 2023-03-18 19:30:49 -06:00
Roberto Hidalgo
62aefa0e3b allow index sub-command completion, finally 2023-03-16 20:51:04 -06:00
Roberto Hidalgo
adf861e7b7 update to go 1.20 2023-03-16 20:32:36 -06:00
Roberto Hidalgo
20814bccd9 make version command name adjustable 2023-01-22 22:29:18 -06:00
Roberto Hidalgo
f0a8223e8d test argument completion 2023-01-18 00:38:03 -06:00
Roberto Hidalgo
424ae202cd permit exception handling and help fuckery 2023-01-17 22:20:46 -06:00
Roberto Hidalgo
087a978a8c format readme 2023-01-17 20:48:38 -06:00
Roberto Hidalgo
a14ffd07b9 skip filtering on completing dirs/files 2023-01-14 17:10:59 -06:00
Roberto Hidalgo
db21a53b2d allow registering many commands at once 2023-01-10 23:40:43 -06:00
Roberto Hidalgo
d9b257e145 moar tests 2023-01-02 00:54:49 -06:00
Roberto Hidalgo
0d24a80075 fix tests 2022-12-31 18:07:54 -06:00
Roberto Hidalgo
a4b16336c7 update deps 2022-12-31 17:56:10 -06:00
Roberto Hidalgo
7bff52a47f tweak logging 2022-12-31 17:53:49 -06:00
Roberto Hidalgo
087c1cdfac fix license 2022-12-31 00:12:55 -06:00
Roberto Hidalgo
8ea5f42ef8 moar milpa stuff 2022-12-30 23:53:24 -06:00
Roberto Hidalgo
831e68c7b7 sigh 2022-12-30 01:00:26 -06:00
Roberto Hidalgo
4eec8e55a1 allow setting root command config 2022-12-29 13:05:58 -06:00
Roberto Hidalgo
26e00210aa fix help, short names for options 2022-12-22 23:29:58 -06:00
Roberto Hidalgo
20a2befa34 only render template if needed i guess? 2022-12-18 23:05:49 -06:00
Roberto Hidalgo
c622ba72be milpa, pero para golang 2022-12-18 21:04:34 -06:00