Skip to main content

arianet configure

This reference is generated from the CLI's own help on every release, so it always matches the latest arianet. The command help is the same text arianet <command> --help prints. For installation, configuration and a guided start, see the CLI page.

The global flags work with every command on this page.

arianet configure​

Configure the Arianet CLI

Configure authentication and default settings for the Arianet CLI.

Running without flags starts an interactive setup wizard. The token is typed without being echoed to the screen.

The token is stored in ~/.config/arianet/config.yaml, readable only by you (mode 0600). Prefer --token-stdin (or the interactive prompt) over --token: a token passed as an argument is visible to other users in the process list and is saved in your shell history.

Examples:
arianet configure
printf '%s' "$ARIANET_TOKEN" | arianet configure --token-stdin
arianet configure --output json
arianet configure show

Usage

arianet configure [flags]

Flags

FlagTypeDefaultDescription
--api-urlstringAPI base URL (default: https://api.ariaservice.net)
--outputstringdefault output format: table|json
--tokenstringAPI token
--token-stdinboolread the API token from stdin (keeps it out of process list and shell history)

Subcommands

  • show: Show current configuration

arianet configure show​

Show current configuration

Usage

arianet configure show [flags]

Examples

arianet configure show
arianet configure show -o json