Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.39 KB

File metadata and controls

44 lines (31 loc) · 1.39 KB

coconut environment control

control the state machine of an environment

Synopsis

The environment control command triggers an event in the state machine of an existing O² environment. The event, if valid, starts a transition. The reached state is returned.

An event name must be passed via the mandatory event flag. Valid events: CONFIGURE RESET EXIT START_ACTIVITY STOP_ACTIVITY

Not all events are available in all states.

coconut environment control [environment id] [flags]

Options

  -e, --event string   environment state machine event to trigger
  -h, --help           help for control

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