|
78ede4a084
|
Validate colors from configuration file
|
2021-01-24 19:02:48 -06:00 |
|
|
8364201d7b
|
Add helper method to exit with error code
|
2021-01-20 23:26:33 -06:00 |
|
|
c3495ac57a
|
Add method to validate configuration
|
2021-01-20 23:26:33 -06:00 |
|
|
b9e98679a1
|
Refactor CLI exit code and error handling
|
2021-01-20 23:26:33 -06:00 |
|
|
c816ee43e1
|
Fix import alias
|
2021-01-20 23:26:33 -06:00 |
|
|
2da3bcc2ff
|
Return error codes instead of exiting from Main()
|
2021-01-20 23:26:33 -06:00 |
|
|
4c6c3744c9
|
Move lume main into the lumecmd package
|
2021-01-20 23:26:33 -06:00 |
|
|
84c1be5054
|
Print error if .lumerc cannot be found
|
2021-01-20 23:26:32 -06:00 |
|
|
1e4a5f988e
|
Use snake case in the configuration file
|
2021-01-20 23:26:32 -06:00 |
|
|
e8abc45377
|
Add poweron and poweroff commands
|
2021-01-20 23:26:32 -06:00 |
|
|
6e1863f374
|
Add CLI output sort functions
|
2021-01-20 23:26:32 -06:00 |
|
|
d0691362d8
|
Use a map to track column widths
|
2021-01-20 23:26:32 -06:00 |
|
|
715fb435e1
|
Refactor configuration file loading
|
2021-01-20 23:26:31 -06:00 |
|
|
63631be598
|
Fix composite literal uses unkeyed fields
|
2021-01-20 23:26:31 -06:00 |
|
|
30fae38ad1
|
Move Windows console hack into constrained file to fix Linux build
|
2021-01-20 23:26:31 -06:00 |
|
|
af2721720d
|
Remove __debug_bin
|
2021-01-20 23:26:27 -06:00 |
|
|
1397fbe4a3
|
Fix help usage
|
2021-01-10 21:10:08 -06:00 |
|
|
cd3653deef
|
fix ls command usage text
|
2021-01-10 21:10:03 -06:00 |
|
|
095c7bd995
|
Move configuration loading to separate function
|
2021-01-10 21:09:59 -06:00 |
|
|
9988800431
|
Enable terminal colors on Windows 10
|
2021-01-10 21:09:54 -06:00 |
|
|
cb87159237
|
add help command
|
2020-08-07 22:11:33 -05:00 |
|
|
491870e247
|
add short and long descriptions of the commands
|
2020-08-07 22:09:40 -05:00 |
|
|
617c2fccf9
|
add usage to every command
|
2020-08-07 18:44:36 -05:00 |
|
|
4325398ca8
|
add usage information to Command struct
|
2020-08-07 18:11:42 -05:00 |
|
|
39d889ecb6
|
add name to Command struct
|
2020-08-07 18:09:54 -05:00 |
|
|
f8e9dbc716
|
add named colors via the config file
|
2020-04-04 10:27:09 -05:00 |
|
|
3a6ee185fb
|
return errors to main()
|
2020-03-29 00:08:17 -05:00 |
|
|
6b033f10de
|
pass the Config struct to the commands
|
2020-03-28 23:47:42 -05:00 |
|
|
968b098344
|
fix incorrect comand name
|
2020-03-28 23:45:27 -05:00 |
|
|
8b2a67b73b
|
remove dead code
|
2020-03-28 18:13:15 -05:00 |
|
|
1b054466cf
|
add set-color command
|
2020-03-28 18:05:35 -05:00 |
|
|
8c0e325447
|
parse comma separated RGB string
|
2020-03-28 18:04:53 -05:00 |
|
|
4b6f159d03
|
add float32 flag parser
|
2020-03-28 18:03:16 -05:00 |
|
|
67cd97e2d8
|
store CLI defaults into variables
|
2020-03-28 15:22:34 -05:00 |
|
|
676eabb0cb
|
rename project to lume
|
2020-03-28 14:31:10 -05:00 |
|
|
04684b0ad6
|
add set-white command
|
2020-03-28 13:18:30 -05:00 |
|
|
ca6008db64
|
add int16 flag parser
|
2020-03-28 13:18:15 -05:00 |
|
|
77c320d2a8
|
use variables
|
2020-03-27 19:53:11 -05:00 |
|
|
4ea3545ea7
|
add set-state command
|
2020-03-27 19:31:41 -05:00 |
|
|
8df5b1d779
|
change error format
|
2020-03-27 19:31:12 -05:00 |
|
|
7c7b06e893
|
create utils module
|
2020-03-27 02:01:14 -05:00 |
|
|
e9771c4ca7
|
add short flags
|
2020-03-26 22:00:16 -05:00 |
|
|
4d496f7524
|
formatting
|
2020-03-26 20:51:26 -05:00 |
|
|
7ef6d66564
|
refactor command line code
|
2020-03-26 19:05:50 -05:00 |
|
|
079b1a469d
|
refactored command line tool
|
2020-03-24 19:12:35 -05:00 |
|
|
2283a91ab8
|
housekeeping
|
2020-03-24 18:41:56 -05:00 |
|
|
4420c20933
|
a full ANSI color library is not required yet
|
2020-03-24 09:14:22 -05:00 |
|
|
25172da555
|
move ls printing into separate function
|
2020-03-24 01:35:18 -05:00 |
|
|
f31fc298cd
|
calculate column widths with less looping
|
2020-03-24 01:31:31 -05:00 |
|
|
f947b9b1ab
|
add ls to lume
|
2020-03-24 00:25:46 -05:00 |
|