feat: implement ping command (#31)

* build: use deepmap/oapi-codegen to generate an HTTP client
* feat: add global CLI options
* feat: load local config to find host and token
* feat: implement ping command
* test: add unit tests for ping command
This commit is contained in:
Daniel Moran
2021-04-14 09:31:21 -04:00
committed by GitHub
parent 8c062cacf0
commit ca8a5c5364
17 changed files with 1307 additions and 3 deletions

View File

@ -11,5 +11,6 @@ package influxcli
import (
_ "github.com/daixiang0/gci"
_ "github.com/deepmap/oapi-codegen/cmd/oapi-codegen"
_ "honnef.co/go/tools/cmd/staticcheck"
)