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

View Page History
{section}
{column:width=60%}

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

Usage: \[-d\] \[-y\] \[\[-h <host>\] \[-n <port>\] \[-u <user>\] \[-p <password>\] \[-H \| \-V | -f <file> \| \-c <command> <command-args> \| \-C\]\]\]

- *\-d,--debug*: Print stack trace and debugging informations
- *\-y,--yes*: Flag 'yes', force the response 'yes' to confirmation messages and other messages
- *\-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
- *\-u,--user <arg>*: username
- *\-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'



h1. List of all available interactive commands in petals-cli console\\

When launched petals-cli, it offers the following 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.
- *listartefacts*: List JBI artifacts name and current status.
- *listregistry*: List the entries of the registry.
- *load*: Load properties from files.
- *print*: Print a message.
- *pwd*: Print the working directory.
- *set*: Assign a value to the system property named key.
- *show*: Print informations about a JBI artifact.
- *shutdown*: Shutdown the container.
- *stop*: Stop the container.
- *undeploy*: Stop and uninstall or undeploy JBI artifacts.
- *version*: Print version informations about petals container.

{column}
{column:width=25%}
{panel:title=Table of contents}{toc}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list}{panel}
{column}
{section}

h1. Use cases
- {{artifact-id}} is the JBI identifier of the artifact to undeploy
If no arguments is set, all artifacts are undeployed. In this case a confirmation is expected, except is the flag 'yes' is set on the command line. A confirmation message is displayed in the mode 'console', except is the flag 'yes' is set on the command line.

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

Usage: \[-d\] \[-y\] \[\[-h <host>\] \[-n <port>\] \[-u <user>\] \[-p <password>\] \[-H \| \-V | -f <file> \| \-c <command> <command-args> \| \-C\]\]\]

- *\-d,--debug*: Print stack trace and debugging informations
- *\-y,--yes*: Flag 'yes', force the response 'yes' to confirmation messages and other messages
- *\-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
- *\-u,--user <arg>*: username
- *\-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'



h1. List of all available interactive commands in petals-cli console\\

When launched petals-cli, it offers the following 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.
- *listartefacts*: List JBI artifacts name and current status.
- *listregistry*: List the entries of the registry.
- *load*: Load properties from files.
- *print*: Print a message.
- *pwd*: Print the working directory.
- *set*: Assign a value to the system property named key.
- *show*: Print informations about a JBI artifact.
- *shutdown*: Shutdown the container.
- *stop*: Stop the container.
- *undeploy*: Stop and uninstall or undeploy JBI artifacts.
- *version*: Print version informations about petals container.