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

View Page History
h2. Petals CLI commands

h3. Installation/Deployment and start of an artifact in one command

Petals CLI is able to install/deploy and start a JBI artifact without distinction between shared-library, component and service assembly using the following command:
- {{<configuration-properties>}} is a list of '{{<property-name>=<property-value>}}', separated by space, where {{<property-name>}} is the name of the property to configure with {{<property-value>}}. This argument is used only if the component is a component. It has no sens for other artifacts. This argument is exclusive with {{<configuration-file>}}.

h3. Uninstallation/Undeployment and stop of an artifact in one command

Petals CLI is able to stop and uninstall/undeploy a JBI artifact without distinction between shared-library, component and service assembly using the following command:
{code}
undeploy [ <artifact-file> | [<artifact-type> <artifact-id>] ]
{code}
where:
- {{<artifact-file>}} is the local file name or the URL of the artifact to undeploy
- {{artifact-id}} is the nature (SL, component, SA) of the artifact to undeploy
- {{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\] \[-H \| \-v \| \[-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