Stuart Carnie
42aabb28fc
chore: Do not use global viper APIs, which breaks testing
2020-11-13 08:47:52 +11:00
Johnny Steenbergen
c0b593ec7d
feat(influx): add active-config flag to override config on single command call
...
closes : #19318
2020-08-14 13:33:14 -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
d21fce5f6d
fix(influx): have delete cmd respect the config settings
...
closes : #17289
2020-06-02 16:31:49 -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
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
Johnny Steenbergen
80751314bc
chore(influx): refactor influx cmd to use builder
...
refators test to use full call paths where possible
2020-02-20 11:27:44 -08:00
Johnny Steenbergen
89939dea4e
fix(influx): add env vars to cli usage and normalize usage and flag/env var priority
...
also rids us of the cobra tutorial code and encapsulates things into funcs
2020-01-10 15:20:15 -08:00
Johnny Steenbergen
ab50e18695
feat: add support for insecure skip verify on cli http clients
2019-11-14 16:48:13 -08:00
Kelvin Wang
f8dee71516
fix(cmd/influx): remove dup usage
2019-10-31 12:35:11 -04:00
Kelvin Wang
27d15deadb
feat(cmd/influx): add cli delete predicate
2019-10-28 11:46:01 -04:00