Skip to main content

get

inctl process get

Get process (behavior tree) of a solution.

Synopsis

Get the process (behavior tree) of a currently deployed solution.

There are two main operation modes. The first one is to get the "active" process in the executive. This is the default behavior if no name is provided as the first argument.

inctl process get --solution my-solution-id --cluster my-cluster [--output_file /tmp/process.textproto] [--process_format textproto|binaryproto]


Alternatively, the process can be retrieved from the solution. The command will do this if you specify the name of the process as the first argument. The process must already exist in the solution.

inctl process get my_process --solution my-solution-id --cluster my-cluster [--output_file /tmp/process.textproto] [--process_format textproto|binaryproto]

inctl process get [flags]

Options

      --clear_node_ids                                                                                    Clear the nodes' id fields from the BT proto. (default true)
--clear_tree_id Clear the tree_id field from the BT proto. (default true)
--cluster string Name of the cluster to interact with.
-h, --help help for get
--org string The Intrinsic organization to use. You can set the environment variable
INTRINSIC_ORG=organization to set a default organization.
--output_file string If set, writes the process to the given file instead of stdout.
--process_format string (optional) input/output format. One of: (textproto, binaryproto) (default "textproto")
-p, --project string The Google Cloud Project (GCP) project to use. You can set the environment variable
INTRINSIC_PROJECT=project_name to set a default project name.
--server string Server address of the cluster. Format is \{ADDRESS\}:\{PORT\}, for example 'localhost:17080'
--solution inctl solutions list --org orgname@projectname --output json [--filter running_in_sim] Id of the solution to interact with. For example, use inctl solutions list --org orgname@projectname --output json [--filter running_in_sim] to see the list of solutions.

Options inherited from parent commands

  -o, --output string   (optional) Output format. One of: (json, ndjson)
--print-trace Print the trace identifier when exiting.

SEE ALSO