115 Commits

Author SHA1 Message Date
dd1ea7c276 Make everything build strings instead of printing 2021-04-23 22:56:58 +00:00
23210af0c3 Add a command for validateColor API 2021-04-21 01:37:29 +00:00
8133953bb1 Add short flag for breathe color 2021-04-16 21:11:09 +00:00
05f445ddf2 Make output format flags boolean 2021-04-11 02:39:58 +00:00
9c92d7945d Add visual power indicator character 2021-04-04 23:34:52 +00:00
a4c305c2e9 Fix bug where configuration is being overridden by a default configuration 2021-04-04 22:53:35 +00:00
e66f6358a9 Remove debug output from ls 2021-04-04 03:09:59 +00:00
100b585663 Add ~/.config/lume/lume.conf to configuration file search paths 2021-03-31 00:19:03 -05:00
f0cf3e12b6 Declare variables at the top of function 2021-03-31 00:18:00 -05:00
ce5f14db5d Fix access token validation
The access token was not be validated when there were additional
validations errors with the named colors
2021-03-31 00:13:49 -05:00
9c024454f2 Refactor global flags 2021-03-30 23:54:05 -05:00
05db35cdfe Remove global flags 2021-03-30 21:04:57 -05:00
de93716b20 Fix context variable name 2021-03-30 13:33:36 -05:00
53bc7fa320 format 2021-03-30 13:31:26 -05:00
9338631de9 Add debug output support 2021-03-29 17:22:22 -05:00
a4638db773 Make configuration global, add helper functions 2021-03-29 17:21:12 -05:00
b1a5844b6b Add support for parsing global flags 2021-03-28 21:33:43 -05:00
1ef900c44c Add breathe effect command 2021-03-25 09:46:58 -05:00
57983b5a52 s/CmdArgs/Context/g 2021-03-16 19:23:50 -05:00
88d7d7a0b4 Adding strings is not necessary 2021-03-16 19:21:59 -05:00
1f87c72e34 Fix syntax error 2021-03-16 19:20:19 -05:00
454bfbf61d Merge environment variables into Config 2021-03-16 19:09:53 -05:00
d5db68dbfa Change version format 2021-03-15 23:18:19 -05:00
dfa5d41a6d Add a default configuration 2021-03-15 22:26:19 -05:00
32bce4eaba Add functions to load configuration 2021-03-14 22:11:12 -05:00
b3a6dfbe07 Move more configuration related code 2021-03-14 13:51:55 -05:00
804ec99021 Move configuration code to seperate file 2021-03-13 23:51:08 -06:00
ff05f8e2f3 Add printer object to format output 2021-03-13 16:20:18 -06:00
94cc596afa Add git commit to version output 2021-03-10 21:39:47 -06:00
1a7b665376 Use tablewriter for output formatting 2021-03-10 20:57:05 -06:00
2d2efd4431 Move print functions 2021-03-07 10:45:56 -06:00
40851c6a62 Use terminal color library 2021-03-07 10:32:05 -06:00
518e304948 Add support for nil flag sets 2021-03-03 23:31:27 -06:00
38ab315a9b Add build date to LDFLAGS 2021-03-02 20:50:21 -06:00
de0bc2e133 Show rumtime information in version output 2021-03-02 00:44:38 -06:00
4d3074fa14 Use LDFLAGS to set build version 2021-03-02 00:44:18 -06:00
0fac4a3c14 Add version command 2021-02-27 22:42:09 -06:00
c9e4d9af80 Improve command loading 2021-02-16 23:24:32 -06:00
dd0bf763a3 Add PrintfWithIndent function 2021-02-16 20:20:18 -06:00
01086e3c22 Formatting changes for the show command 2021-02-15 19:46:13 -06:00
63bbbcecf7 Add pre-release tag 2021-02-15 19:30:25 -06:00
272ae7cd01 Add show command 2021-02-14 23:06:12 -06:00
cf8b34fe01 Move client library to separate repo
git.kill0.net/chill9/lifx-go
2021-02-14 19:02:26 -06:00
761e38fd8e Add version to user agent 2021-02-13 18:42:47 -06:00
a7fab72a1e Use functional options for the client constructor 2021-02-11 09:16:24 -06:00
b643635cf4 Make the user agent configurable 2021-02-10 22:16:15 -06:00
8e7ff7f39a Validate flags before running the command 2021-02-07 17:38:49 -06:00
8c6567bc8a Using os.Args is not necessary 2021-02-07 17:31:57 -06:00
d8be978ba8 Pass command name to CmdArgs struct 2021-02-07 17:31:19 -06:00
9360df727a Consolidate subcommand registration 2021-02-02 20:25:19 -06:00