Config
geni config get
Print what is written in the config file. Symmetric with set.
geni config get [key] [flags]Prints what is literally in the config file, with no resolver fallbacks layered on: whatever you wrote with geni config set is what you read. Unset keys render as (unset) in the table and null in JSON.
Not the URL in use
A runner session is bound to the API URL it was minted against, which can
differ from apiUrl here. For the URL the CLI is actually hitting right now,
run geni auth status --json and read server.
Synopsis
geni config get # every key, as a table
geni config get apiUrl # one value, bare
geni config get --json # every key, JSON
geni config get apiUrl --json # one key, JSON| Arg / Flag | Notes |
|---|---|
[key] | apiUrl or dashboardUrl. Omit to list every key. |
--json | Machine-readable output. Unset keys are JSON null. |
Output
KEY VALUE
apiUrl http://localhost:4111
dashboardUrl (unset)How apiUrl resolves at runtime
Highest wins:
- The session file's stored server, locked at
geni logintime. $GENI_API_URL.apiUrlin this config.- The compiled-in default,
https://cloud.generalinput.com.