Add more README
This commit is contained in:
parent
438d718b57
commit
7670550622
1 changed files with 10 additions and 1 deletions
11
README.md
11
README.md
|
@ -2,4 +2,13 @@
|
||||||
|
|
||||||
[![Build status](https://badge.buildkite.com/499cf60391b51f08f4050886b0cf04f47f1f2b4461caae16bc.svg)](https://buildkite.com/drjosh9000/plugctl)
|
[![Build status](https://badge.buildkite.com/499cf60391b51f08f4050886b0cf04f47f1f2b4461caae16bc.svg)](https://buildkite.com/drjosh9000/plugctl)
|
||||||
|
|
||||||
Library for controlling Kasa switches
|
Library for controlling Kasa switches, and a sample app.
|
||||||
|
|
||||||
|
## CLI usage & example
|
||||||
|
|
||||||
|
Assuming your `~/go/bin` is in `$PATH`:
|
||||||
|
|
||||||
|
1. `go get gitea.drjosh.dev/josh/plugctl/cmd/plugctl@latest`
|
||||||
|
2. `plugctl {on,off,state} --kasa-addr=(host:port)`
|
||||||
|
|
||||||
|
See `cmd/plugctl/main.go` for library usage.
|
||||||
|
|
Loading…
Reference in a new issue