generate bash completion scripts
To load completion, run:
. <(ghastly completion)
To configure your bash shell to load completions for each session add to your bashrc:
. <(ghastly completion)
ghastly completion [flags]
-h, --help help for completion
--loglevel string log level; one of TRACE, DEBUG, INFO, WARN, ERROR, FATAL, PANIC (default "INFO")
-o, --output text output format for commands; options are text or `json` (default "text")
--server string the URL used to access homeassistant. defaults to value of HASS_SERVER environment variable (default "http://nuc.lan:8123")
--token string the bearer token used to authenticate to homeassistant. defaults to value of HASS_TOKEN environment variable (default "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJjZGZlZDAwNDE1NmM0NTM2YTI4MDRiMmRiMjUzN2JmMCIsImlhdCI6MTU0OTc2Mzc3MywiZXhwIjoxODY1MTIzNzczfQ.wHtNVzQoEb1hY5m86QaEKOIp5pApyO0HZBJBDjfCJZc")
- ghastly - ghastly is a tool for interacting with homeassistant