huectl

command module
v0.0.0-...-17ff5ae Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2022 License: MIT Imports: 3 Imported by: 0

README

huectl

My own take on a command line control for Philips Hue lights. Small CLI tool using cobra, and huego

huectl controls a Philips Hue installation

Usage:
  huectl [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  connect     Connects to a bridge, storing the new user in a config. The link button must be pressed before running this command.
  help        Help about any command
  lights      Manage individual lights
  version     Prints the version of huectl

Flags:
      --debug   Turn on debug logging.
  -h, --help    help for huectl

Use "huectl [command] --help" for more information about a command.

Credits

As the saying goes:

Give credit where credit is due

  • https://cobra.dev/
  • https://github.com/amimof/huego is an excellent library for controlling the Hue lights, and this is what is used in huectl
  • https://github.com/skwair/huectl Has a similar tool written in go (and unfortunately was the first to use the name 😆). I thought about extending it, but I also wanted to add a different structure to the commands and port it to huego, and hence started pretty much from scratch. Some elements of this tool has definitely been borrowed from skwair though.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL