influx-cli icon indicating copy to clipboard operation
influx-cli copied to clipboard

Feature request for influx CLI: Custom config preferences for the v1 shell

Open elofu17 opened this issue 1 year ago • 0 comments

Summary: Please add a way to configure custom defaults for the influx v1 shell.

I run the latest version of influx CLI on a Debian 11 machine (package: influxdb2-cli 2.7.3-1). After init/setup, we have the file ~/.influxdbv2/configs, with global options for influx. Nice.

Can you please add a section to configure the defaults for the v1 shell? I want to be able to set the default format and precision in the config file.

I always want to use precision rfc3339, so now I have to manually type it every time I start influx v1 shell. This is tedious! (In the old/legacy version of influx I could run influx -precision rfc3339 ..... but the new version lack this.)

elofu17 avatar Mar 05 '24 23:03 elofu17