Closed
Description
in the 1.x world, the --help command would show the environment variables that could be set as well so that the command could be shorter. I know about INFLUX_TOKEN
but are there others for the ORG or BUCKET as well?
It would be helpful to have them here:
➜ influxdb git:(master) ✗ ./bin/darwin/influx pkg
Error: required flag(s) "org-id" not set
Usage:
influx pkg [flags]
influx pkg [command]
Available Commands:
export Export existing resources as a package
new Create a reusable pkg to create resources in a declarative manner
summary Summarize the provided package
validate Validate the provided package
Flags:
-c, --color Enable color in output, defaults true (default true)
-f, --file string Path to package file
--force-on-conflict TTY input, if package will have destructive changes, proceed if set true. (default true)
-h, --help Help for the pkg command
-o, --org-id string The ID of the organization that owns the bucket
-q, --quiet disable output printing
--table-borders Enable table borders, defaults true (default true)
Global Flags:
--host string HTTP address of Influx (default "http://localhost:9999")
--local Run commands locally against the filesystem
--skip-verify SkipVerify controls whether a client verifies the server's certificate chain and host name.
-t, --token string API token to be used throughout client calls
Use "influx pkg [command] --help" for more information about a command.