Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
4 years ago[49] Provide a way to set global flags using environment variables
It would be helpful it the global options such as --account, --iso-timestamps, --format, --session, etc were configurable via environment variables
(for example, OP_ACCOUNT_ID, OP_FORMAT, OP_SES...
Former Member
4 years agoHey both!
Thank you for your suggestions. Indeed, having a set of environment variables to replace the most used flags can be really helpful. We already have support, as far as I know, for OP_SESSION_<shorthand>, OP_FORMAT and OP_ACCOUNT. OP_ACCOUNT, however, is documented nowhere, so I'm going to open up a ticket for that.
Do you have any other flags that you would like to see with an option to be set via environment variables?
I'm going to also open a ticket for the --iso-timestamps flag, for now, and we can add to that as new ideas arise.
Thank you for giving CLI 2.0 a go, and please keep the good feedback coming!
Best,
Horia