Skip to content

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

@elofu17

Description

@elofu17

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions