Command Reference

Command Reference

list

list

Use this command to list objects of a specific type within a RulePoint project. For example, you can fetch a list of sources, rules, or responders.
The list command uses the following syntax:
rpcmd list <-URL|-u> url <-UserName|-un> user_name <-Password|-pd> password <-ProjectName|-pn> project_name [<-ObjectType|-at> object_type]
The following table describes the
rpcmd
list options and arguments:
Option
Argument
Description
-URL
-u
url
URL of RulePoint design server instance to connect to run the command.
-UserName
-un
user_name
User name to connect to RulePoint Server.
-Password
-pd
password
Password of the user name to connect to the RulePoint Server.
-ProjectName
-pn
project_name
The name of the RulePoint project where the object is present.
-ObjectType
-ot
object_type
Type of object that you want to redeploy. Valid values for this option are sources, rules, and responders. The command lists all the available objects for the specified value, along with the object type, name, validity, and deployment state (Deployed, Needs_Deployment, or Draft).

Example

You can run the following command to list all the objects, along with information for each object type:
> ./rpcmd.sh list -u http://localhost:8080/rulepoint -un Administrator -pd Administrator1 -pn "Default Project"

0 COMMENTS

We’d like to hear from you!