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 (7)

View Page History
Launching the Petals CLI with the following command line starts an interactive console with a prompt where the user can enter commands:
{code}
> ./petals-cli.sh -C

Type 'help' for help.
{code}

This command is wrapped by another shell: petals-cli-console.sh

h2. Execution of a Petals CLI command directly on the command line

{code}

h1. Installing petals-cli

Make sure you have downloaded petals-cli.1.x.zip.
Unzip it wherever you want to install it.
{column}

{column:width=350px}
{panel}

{panel}
*Contributors*
{contributors:order=name|mode=list}
{column}
{panel}
{panel}
{section}

h1. Starting petals-cli

h2. Linux / MacOS X

*Command line to start petals-cli*

# Go to {{petals-cli-1.x/bin}}
# Execute the following command:
{noformat}
./petals-cli.sh
{noformat}
# Done :-)

h2. Windows

*Command line to start Petals ESB*

# Go to {{petals-cli-1.x/bin}}
# Execute the following command:
{noformat}
petals-cli.bat
{noformat}
# Done :-)

h1. List of all available commands to run with petals-cli.sh or petals-cli.bat

- *\-d,--debug*: Print stack trace and debugging informations
- *\-H,--help*: Print this help message and exit
- *\-V,--version*: Print the version of Petals CLI and exit
- *\-h,--host <arg>*: remote petals ESB host name
- *\-n,--port <arg>*: port number
- *\-p,--password <arg>*: password
- *\-s,--script*: Read commands from standard input
- *\-u,--user <arg>*: username
- *\-V,--version*: Print the version number and exit
- *\-f,--file <filename>*: Executes commands contained in the file, if <filename> is '-', commands are read from the 'stdin'
- *\-c,--command <command> <command-args>*: Execute the command provided on the command line
- *\-C,--console*: Enable the mode 'console'