get

Definition

The get command retrieves the value of a key from the local Vars cache. If the specified value is not found locally, Vars requests the value from the Fugue Conductor.

Arguments and Flags

Note: The following are all optional arguments/flags.

Application Options

Command Options Description
-v, --verbose Enable verbose output/logging
--version Show the current version
--host Client port

Help Options

Command Options Description
-h, --help Show the help message

Get Options

Command Options Description
-c, --consistent do a consistent read of the value
--output Output encoding. Available encodings are json, xml, and plain (plain)
-r, --refresh refresh the value from the conductor
--version displays an old version, this does not cache the result

Get Command Arguments

Command Options Description
Key the vars key name to fetch

Usage

$ vars [OPTIONS] get [get-OPTIONS] [key]