Command Line Interface Reference → Command Format
To perform a command, open a command window and invoke serenara-client along with the command and parameters.
Commands have the following format:
serenara-client [global-args...] [global-flags...] <command> [args...]
The global arguments are:
Argument | Description |
---|---|
-authtoken, –authtoken |
Optional. Can be set using the environment variable DS_AUTH_TOKEN. An authentication token generated by the server. Either an authtoken or a username and password is required. |
-password, –password |
Optional. Can be set using the environment variable DS_PASSWORD. A password to authenticate with the server. Either an authtoken or a username and password is required. |
-username, –username |
Optional. Can be set using the environment variable DS_USERNAME. A username to authenticate with the server. Either an authtoken or a username and password is required. |
-weburl, –weburl |
Required. Can be set using the environment variable DS_WEB_URL. The base URL of the Deployment Automation server. For example: "http://serverName:8080/serena_ra" |
The global flags are:
Flag | Description |
---|---|
-t, –getTemplate | Show the JSON template for the command instead of running the command. If a file argument is provided, the template will be output to that file. |
-h, –help | Print the full description and help of the given command instead of running the command. |
-v, –verbose | Print extra information during execution. |
Copyright © 2011–2016 Serena Software, Inc. All rights reserved.