axiomhq / cli

The power of Axiom on the command line.
https://axiom.co
MIT License
41 stars 11 forks source link

Confusing that docs example is YAML and the format is TOML #89

Closed ted-gould closed 3 years ago

ted-gould commented 3 years ago

https://docs.axiom.co/reference/CLI/#session-support

lukasmalkmus commented 3 years ago

/cc @thecraftman Looks like this is for you. Maybe move this to docs repo. Also the section on env vars seems outdated.

Output of axiom help environment might help:

AXIOM_DEPLOYMENT: The deployment to use. Overwrittes the choice loaded from
the configuration file.

AMX_ORG_ID: The organization ID of the organization the access token is valid
for. Only valid for Axiom Cloud.

AXIOM_PAGER, PAGER (in order of precedence): A terminal paging program to send
standard output to, e.g. "less".

AXIOM_TOKEN: Token The access token to use. Overwrittes the choice loaded from
the configuration file.

AXIOM_URL: The deployment url to use. Overwrittes the choice loaded from the
configuration file.

VISUAL, EDITOR (in order of precedence): The editor to use for authoring text.

NO_COLOR: Set to any value to avoid printing ANSI escape sequences for color
output.

CLICOLOR: Set to "0" to disable printing ANSI colors in output.

CLICOLOR_FORCE: Set to a value other than "0" to keep ANSI colors in output
even when the output is piped.

AXIOM_ is the correct prefix.

TOML is definitiv the correct format! See your own config file cat ~/.axiom.toml

thecraftman commented 3 years ago

fixed: https://www.axiom.co/docs/reference/cli

lukasmalkmus commented 3 years ago

Fixed by @thecraftman.