Commit Graph

15 Commits (a61161d73b5904ada12929dc40da3be8af76d314)

Author SHA1 Message Date
Johnny Steenbergen 76c2134767 feat(influx): enable dynamic configs destination
introduces the new flag --configs-path to the influx CLI. This new
flag has a corresponding env var INFLUX_CONFIGS_PATH. It is useful
to export this env var in a shell dotfile for consumption throughout the
box.

closes: #17979
2020-07-23 08:36:49 -07:00
Johnny Steenbergen 52cd625687 fix(influx): drop global flags and replace with locals
many spots in the CLI that global flags show up cause confusion or just
add overhead with no value. This cleans that up. Other commands may
have token removed if it does not pertain.

commands that do not have global flags:
  * influx
  * influx completion
  * influx config (all sub commands as well)
  * influx template
  * influx template validate
  * influx transpile
  * influx version
  * all root commands that have no actions, aka influx organization
2020-06-24 15:33:06 -07:00
Johnny Steenbergen 74722d5191 fix(influx): stop influx set command forcing url 2020-06-24 15:18:08 -07:00
Johnny Steenbergen a7d29b1446 fix(influx): provide validation for config host urls
closes: #18706
2020-06-24 13:11:06 -07:00
Johnny Steenbergen 6bac4373ca feat(influx): improve long flags for config commands
this deprecates the old flags, but they are still accessible if using them
explictly. They are hidden from the -h message. When used the CLI prints out
a message indicating the flag is deprecated and to use the new flag instead.
2020-06-24 13:11:06 -07:00
Johnny Steenbergen 5db8e2fd5e chore(influx): mark hidden flags that are deprecated as deprecated with help msg 2020-06-22 20:07:53 -07:00
Johnny Steenbergen 0f222de331 chore(influx): refactor influx config delete cmd to for consistency and update usage
closes: #18603
2020-06-18 16:55:33 -07:00
Johnny Steenbergen 8d9e3bb81f feat(influx): provide active config when running bare influx config cmd 2020-06-18 09:29:12 -07:00
Johnny Steenbergen 1615a2c461 fix(influx): add arg description into config usage 2020-04-24 10:52:50 -07:00
Jonathan A. Sternberg 0ae8bebd75
refactor: rewrite imports to include the /v2 suffix for version 2 2020-04-03 12:39:20 -05:00
Kelvin Wang abe3a96674 feat(cmd/influx): add config switch back 2020-04-01 12:44:21 -04:00
Kelvin Wang 5db57c9081 feat(cmd/influx): easy switch config 2020-03-27 15:45:36 -04:00
Johnny Steenbergen 7a518380ad feat(influx): add jsonout and hide headers support to config cmd 2020-03-27 10:59:50 -07:00
Johnny Steenbergen 36d99bfbf8 chore(influx): make runE middleware application explicit from caller 2020-03-25 12:41:11 -07:00
Kelvin Wang c511f06fa5 feat(cmd/influx): add profile management 2020-03-12 11:09:54 -04:00