Skip to content

tebib: global options and commands

Generated from the CLI's own command tree. Run tebib --help for the same text in your terminal.

Global options

These go before the command, for example tebib -o json vm list.

tebib

Command-line client for the TebibHost cloud API.

tebib [OPTIONS]
OptionValueDescription
--profilestrProfile to use. Environment: TEBIB_PROFILE.
--endpointstrOverride the API endpoint.
--orgstrOverride the organization.
--projectstrOverride the project.
--output, -otable | json | yamlOutput format. Default: table.
--versionflagShow the version.
--install-completionflagInstall completion for the current shell.
--show-completionflagShow completion for the current shell, to copy it or customize the installation.

Commands

tebib configure

Save a profile: endpoint, credentials and default organization/project.

tebib configure [OPTIONS]
OptionValueDescription
--endpointstrAPI endpoint (https://...).
--access-key-idstrAccess key ID.
--secret-access-keystrSecret access key. Omit to be prompted (keeps it out of shell history).
--orgstrDefault organization ID.
--project, -pstrDefault project ID.
--default, --no-defaultflagMake this the default profile.
--interactive, --no-interactiveflagPrompt for missing values.

Examples

tebib configure # endpoint, access key, default organization/project

tebib usage

Show a project's metered usage (-o json includes every time bucket).

tebib usage [OPTIONS]
OptionValueDescription
--sincestrFrom this long ago: 90m, 24h, 30d (default: the API's).
--startstrFrom (ISO 8601, inclusive).
--endstrUntil (ISO 8601, exclusive; default now).
--granularitystrminute, hour or day. Default: hour.
--meterstrOnly this meter; '*' matches anything, e.g. 'vm.*'.
--resourcestrOnly this resource ID.
--by-resourceflagOne line per resource instead of per meter.
--project, -pstrProject ID (default: from the profile).
--output, -otable | json | yamlOutput format.

tebib whoami

Show who the API thinks you are.

tebib whoami [OPTIONS]
OptionValueDescription
--output, -otable | json | yamlOutput format.

Examples

tebib whoami