1 <!-- WARNING: This file is generated by fetch_docs.js using /home/boron/Documents/AGL/docs-webtemplate/site/_data/tocs/devguides/master/xds-docs-guides-devguides-book.yml -->
5 `xds-cli` configuration is defined either by environment variables or by
6 setting command line options.
8 Configuration through environment variables may also be defined in a file that
9 will be sourced by `xds-cli` on start-up.
11 Use `--config|-c` option or set `XDS_CONFIG` environment variable to specify the config file to use.
13 So configuration is driven either by environment variables or by command line
14 options or using a config file knowing that the following priority order is used:
16 1. use option value (for example use project ID set by `--id` option),
17 1. else use variable `XDS_xxx` (for example `XDS_PROJECT_ID` variable) when a
18 config file is specified with `--config|-c` option,
19 1. else use `XDS_xxx` (for example `XDS_PROJECT_ID`) environment variable
24 All parameters after a double dash (--) are considered as the command
25 to execute on xds-server.
26 <!-- end-section-note -->
28 ## Global Options / Configuration variables
30 Following is the list of global options across all sub-commands.
32 __`--config|-c` option or `XDS_CONFIG` env variable__
34 Env config file to source on startup
36 __`--log|-l` option or `XDS_LOGLEVEL` env variable__
38 Logging level, supported levels are:
47 Default level is "error".
49 **`--rpath` option or `XDS_PATH` env variable**
51 Relative path into project
53 **`timestamp|-ts` option or `XDS_TIMESTAMP` env variable**
55 Prefix output with timestamp
57 **`url` option or `XDS_AGENT_URL` env variable**
59 Local XDS agent url (default: "localhost:8800")