Commit Graph

21 Commits

Author SHA1 Message Date
Ryan Cavicchioni dd1ea7c276
Make everything build strings instead of printing 2021-04-23 22:56:58 +00:00
Ryan Cavicchioni 05f445ddf2
Make output format flags boolean 2021-04-11 02:39:58 +00:00
Ryan Cavicchioni 9c024454f2
Refactor global flags 2021-03-30 23:54:05 -05:00
Ryan Cavicchioni 57983b5a52
s/CmdArgs/Context/g 2021-03-16 19:23:50 -05:00
Ryan Cavicchioni ff05f8e2f3
Add printer object to format output 2021-03-13 16:20:18 -06:00
Ryan Cavicchioni 1a7b665376
Use tablewriter for output formatting 2021-03-10 20:57:05 -06:00
Ryan Cavicchioni c9e4d9af80
Improve command loading 2021-02-16 23:24:32 -06:00
Ryan Cavicchioni 9360df727a
Consolidate subcommand registration 2021-02-02 20:25:19 -06:00
Ryan Cavicchioni 9321095e11
Clean up subcommand registrations 2021-01-31 19:40:27 -06:00
Ryan Cavicchioni 320815293d
ExitFailure matches stdlib.h 2021-01-31 11:08:24 -06:00
Ryan Cavicchioni b9e98679a1
Refactor CLI exit code and error handling 2021-01-20 23:26:33 -06:00
Ryan Cavicchioni 491870e247
add short and long descriptions of the commands 2020-08-07 22:09:40 -05:00
Ryan Cavicchioni 617c2fccf9
add usage to every command 2020-08-07 18:44:36 -05:00
Ryan Cavicchioni 3a6ee185fb
return errors to main() 2020-03-29 00:08:17 -05:00
Ryan Cavicchioni 968b098344
fix incorrect comand name 2020-03-28 23:45:27 -05:00
Ryan Cavicchioni 67cd97e2d8
store CLI defaults into variables 2020-03-28 15:22:34 -05:00
Ryan Cavicchioni 77c320d2a8
use variables 2020-03-27 19:53:11 -05:00
Ryan Cavicchioni 8df5b1d779
change error format 2020-03-27 19:31:12 -05:00
Ryan Cavicchioni 7c7b06e893
create utils module 2020-03-27 02:01:14 -05:00
Ryan Cavicchioni e9771c4ca7
add short flags 2020-03-26 22:00:16 -05:00
Ryan Cavicchioni 7ef6d66564
refactor command line code 2020-03-26 19:05:50 -05:00