...
1. Depending on the underlying operating system, either start a DOS prompt or a shell.
2. Navigate to the directory where the corresponding batch file or shell script is located.
3. Next start the corresponding batch file or shell script without any additional parameters. (If the CBS tool has been started with additional parameters it runs in batch mode.)
If the CBS command line tool has been launched successfully you should see this prompt:
:cbs>
4. Enter CBS related commands.
The command name must occur before the options and arguments. To get an overview of all available commands, enter help and choose Enter: This lists all commands with a short description. For more information on the available commands, see Commands for the CBS Command Line Tool. To get more information on a specific command (especially which arguments it takes), enter help <command name> and choose Enter.
:cbs>help connect
Connects to a CBS.
connect -c <CBS URL> -u <CBS user> -p <password>
[-t <read timeout in milliseconds, e.g. 600000>]
[-f <keystore file for SSL connection>]
You can enter multiple commands at a time. In this case the commands must be separated by semicolon.
:cbs>connect -c http://server:port -u someuser -p somepwd; bsstate -b mybuildspace
Enter the exit command to terminate the tool.
:cbs>exit