Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.21 KB

File metadata and controls

53 lines (40 loc) · 2.21 KB

coconut configuration show

Show configuration for the component and entry specified

Synopsis

The configuration show command returns the most recent configuration revision for the specified component and entry. It can also return a specific revision, requested with the --timestamp/-t flag

coconut configuration show <component> <entry> [flags]

Examples

coconut conf show <component> <entry> 
coconut conf show <component> <entry> -t <timestamp>
coconut conf show <component>/<run type>/<machine role>/<entry>
coconut conf show <component>/<run type>/<machine role>/<entry> -t <timestamp>
coconut conf show <component>/<run type>/<machine role>/<entry>@<timestamp>
coconut conf show <component> <entry> -r <run type> -l <machine role> -t <timestamp>'
coconut conf show <component> <entry> -s -e '{"key1": "value1", "key2": "value2"}'

Options

  -e, --extra-vars key1=val1,key2=val2   values passed using key=value CSV or JSON syntax, interpreted as strings key1=val1,key2=val2 or `{"key1": "value1", "key2": "value2"}`
  -h, --help                             help for show
  -l, --role string                      request configuration for this O² machine role
  -r, --runtype string                   request configuration for this run type (e.g. PHYSICS, TECHNICAL, etc.)
  -s, --simulate                         simulate runtime template processing on the configuration payload
  -t, --timestamp string                 request configuration for this timestamp

Options inherited from parent commands

      --config string            optional configuration file for coconut (default $HOME/.config/coconut/settings.yaml)
      --config_endpoint string   configuration endpoint used by AliECS core as PROTO://HOST:PORT (default "apricot://127.0.0.1:32101")
      --endpoint string          AliECS core endpoint as HOST:PORT (default "127.0.0.1:32102")
      --nocolor                  disable colors in output
      --nospinner                disable animations in output
  -v, --verbose                  show verbose output for debug purposes

SEE ALSO

Auto generated by spf13/cobra on 27-Nov-2024