Petals CLI

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History
The container can be shutdowned by using the command '_stop_' with the argument '_container_' and the parameter '_\--shutdown_'.
{code}
> ./petals-cli.sh -c -- stop container --shutdown
> ./petals-cli.sh -C
petals-cli@host:port> stop container --shutdown
Are you sure you want to shutdown the container? (y/n)
{code}
A confirmation is expected, except if the '_yes_' flag is set on the command line. A confirmation message is displayed in the console mode, except if the '_yes_' flag is set on the command line.

A confirmation is expected, except if the '_yes_' flag is set on the command line or as command argument, otherwise an error will occur.
A confirmation message is displayed in the console mode, except if the '_yes_' flag is set on the command line or as command argument.
{code}
> ./petals-cli.sh -y -c -- stop container --shutdown
> ./petals-cli.sh -c -- stop container --shutdown -y
> ./petals-cli.sh -c -- stop container --shutdown
ERROR: You MUST confirm the container shutdown using '-y'
{code}

h3. Getting the topology