Skip to content

Instantly share code, notes, and snippets.

@kangasta
Last active October 6, 2022 19:05
Show Gist options
  • Select an option

  • Save kangasta/1380a52060041be14adcddacce435898 to your computer and use it in GitHub Desktop.

Select an option

Save kangasta/1380a52060041be14adcddacce435898 to your computer and use it in GitHub Desktop.
Example output for spf13/cobra #1822

upctl database

Manage databases

upctl database [flags]

Aliases

db

Options

Option Description
--help, -h help for database
Default: false

Global options

Option Description
--client-timeout, -t Client timeout to use in API calls.
Default: 0s
--config Configuration file path.
--debug Print out more verbose debug logs.
Default: false
--force-colours Force coloured output despite detected terminal support.
--no-colours Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable.
--output, -o Output format (supported: json, yaml and human)
Default: human

Related commands

Command Description
upctl UpCloud CLI
upctl database connection Manage database connections
upctl database delete Delete a database
upctl database list List current databases
upctl database plans List available plans for given database type
upctl database show Show database details
upctl database start Start on a managed database
upctl database stop Stop a managed database
upctl database types List available database types
Auto generated by spf13/cobra on 6-Oct-2022

upctl database

Manage databases

upctl database [flags]

Options

  -h, --help   help for database

Options inherited from parent commands

  -t, --client-timeout duration   Client timeout to use in API calls.
      --config string             Configuration file path.
      --debug                     Print out more verbose debug logs.
      --force-colours[=true]      Force coloured output despite detected terminal support.
      --no-colours[=true]         Disable coloured output despite detected terminal support. Colours can also be disabled by setting NO_COLOR environment variable.
  -o, --output string             Output format (supported: json, yaml and human) (default "human")

SEE ALSO

Auto generated by spf13/cobra on 30-Sep-2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment