Command Reference

Command Reference

Running rpcmd Commands from Command Prompt

Running rpcmd Commands from Command Prompt

  1. At the command prompt, switch to the directory where the
    rpcmd
    executable is located.
    By default,
    rpcmd
    installs in the
    RULEPOINT_CMD_HOME\bin
    directory.
  2. Run the following command, followed by the command name and its required options and arguments:
    • On Windows, run
      rpcmd.bat
    • On Unix, run
      rpcmd.sh
Example
rpcmd <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password
When you run
rpcmd
, you enter options for each command, followed by the required arguments. For example, most commands require that you enter the user name, password, and command name using the command options. Command options are preceded with a hyphen and are case sensitive. Arguments follow the option. To enter an argument that contains a space or other non-alphanumeric character, enclose the argument in quotation marks.
For example, to deploy all the sources in a specific project on a particular source controller on Windows:
rpcmd.bat deployAll –u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 –pn “Default Project” –ot sources –as “Default Source Controller”
On UNIX, run the following command:
rpcmd.sh deployAll –u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 –pn “Default Project” –ot sources –as “Default Source Controller”
If you omit or incorrectly enter one of the required options, the command fails and
rpcmd
returns an error message.

0 COMMENTS

We’d like to hear from you!