New Documentation of Petals CLI-Command Line Interface

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

Changes (1)

View Page History
- {{<command-description}} is a text explaining the command

h3. Getting help on available commands and on a command in interactive mode

The list of available command can be get using the command '{{help}}' without argument:

The help on a command can be get using the command '{{help}}'. A usage and a description of the command is displayed:
{code}> ./petals-cli.sh -C

Type 'help' for help.
------------------------------------------------------------------------------
petals-cli> help

Available commands:
deploy Deploy and start a JBI artifact in petals container.
exit Exit this shell.
help Display this help message or help for a specific command.
...

For help on a specific command type:
help <command>

petals-cli> help <command>

usage: <command> <command-arguments>

<command description>
>
{code}
where:
- {{<command>}} is the command for which we want to get help
- {{<command-arguments>}} is the list of arguments of the command
- {{<command-description}} is a text explaining the command


h2. Return code of Petals CLI