Skip to content

Latest commit

 

History

History
60 lines (51 loc) · 2.8 KB

octl.md

File metadata and controls

60 lines (51 loc) · 2.8 KB

octl

A modern CLI for Outscale services

Synopsis

                    __     __
  ____     _____   / /_   / /
 / __ \   / ___/  / __/  / / 
/ /_/ /  / /__   / /_   / /  
\____/   \___/   \__/  /_/   
One CLI to rule them all,
one CLI to find them,
one CLI to bring them all
and in the terminal bind them.
octl [flags]

Options

  -c, --columns string             columns to display - [+]<title>:<jq query for content>||<title>:<jq query for content>
      --config string              Path of profile file (by default, ~/.osc/config.json)
      --dry-run                    Display the request payload that would be sent to the API without sending it
      --elapsed                    add elapsed time column when using --watch (default true)
      --filter strings             comma separated list of filters for results - name:value,name:value, alias for jq filter 'select(.name | tostring | test("value"))'
  -h, --help                       help for octl
      --interval duration          interval between two watch/waitfor iterations (default 5s)
      --jq string                  jq filter
      --max-pages int              maximum number of pages a command can fetch (default 20)
      --no-upgrade                 do not check for new versions
  -O, --out-file string            redirect output to file
  -o, --output string              output format (json, yaml, raw, rawyaml, table, csv, none, text)
      --payload string             JSON content for query body
      --profile string             Profile to use in profile file (by default, "default")
  -s, --silent                     Hides all information messages
      --single                     convert single entry lists to a single object
      --style string               style to use for syntax-highlighting (doom-one, github, monokai, nord, paraiso, solarized) (default "github")
      --template string            JSON template file for query body
  -v, --verbose                    Verbose output
      --version                    Display version
      --waitfor string             repeatedly call the API until the specified jq expression returns 1/true or a non empty result
      --waitfor-timeout duration   maximum duration of a wait (default 10m0s)
      --watch                      repeatedly call the API and display changes
  -y, --yes                        answer yes to all prompts

SEE ALSO