Commit Graph

130 Commits

Author SHA1 Message Date
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
fce5ff9667
fix bug where RGBColor could not be marshalled 2020-03-28 18:04:11 -05:00
bdcb20acb2
returning a pointer is not necessary 2020-03-28 18:03:49 -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
9452aec154
fix spelling 2020-03-28 13:29:35 -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
4e03e59bad
fix kelvin validation range 2020-03-28 13:17:52 -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
917053f39c
error helpers 2020-03-26 21:05:11 -05:00
bba7c22460
improve error handling 2020-03-26 20:52:11 -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
6afe13812a
fix variable name 2020-03-26 02:16:08 -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
83c96812d7
fix typo 2020-03-24 18:33:22 -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
7d8e5f8b92
deserialize as time 2020-03-24 00:26:22 -05:00
d3c56d3aa8
add validation to RGBColor 2020-03-24 00:26:06 -05:00
f947b9b1ab
add ls to lume 2020-03-24 00:25:46 -05:00
fe40294f52
rename variables 2020-03-22 14:41:54 -05:00
adc8b72e0e
add some default color constructors 2020-03-22 14:40:41 -05:00
7773883688
add set-white subcommand 2020-03-22 14:06:14 -05:00
7c27d173f4
refactor white constructors 2020-03-22 11:31:10 -05:00
dc4159550c
add new CLI tool called lume 2020-03-14 11:08:12 -05:00
de669f159e
remove scratch test cli tool 2020-03-12 16:47:38 -05:00
6a5e6d0753
forgot to add utils file 2020-03-08 13:47:21 -05:00
39a9d377d1
use pointers 2020-03-08 13:47:01 -05:00
73a666a216
make method naming more consistent 2020-03-07 20:06:22 -06:00
05566f480f
add SetDelta function 2020-03-07 20:02:37 -06:00
e39d81f6cc
add ListLights function 2020-03-06 23:00:21 -06:00
40a7a9d741
refactor client class again 2020-03-06 20:55:31 -06:00
c3b8d84968
there is no JSON response in fast mode 2020-03-06 01:34:28 -06:00
243d0f6f31
refactor SetState function 2020-03-06 01:28:39 -06:00
f58f523d35
handle HTTP statuses 2020-03-06 01:28:12 -06:00