Skip to content

get

Synopsis

The get subcommand retrieves detailed information about a specific Olares user account. The output can be formatted as a table or JSON.

bash
olares-cli user get <name> [options]

Arguments

ArgumentDescriptionRequired
<name>Specifies the username of the account to retrieve.
It is typically the part before the @ symbol in an Olares ID.
For example, alice123 for [email protected].
Yes

Options

OptionShorthandUsageRequiredDefault
--help-hDisplays help information.NoN/A
--kubeconfigSpecifies the path to a kubeconfig file.NoN/A
--no-headersDisables the header row in the output.NoN/A
--output-oSpecifies the output format. Valid values: table, json.Notable

Examples

bash
# Get details for user named alice123 in default table format
olares-cli user get alice123

# Get details for user named blake123 in JSON format
olares-cli user get blake123 -o json