Skip to main content

get

inctl process get

Get a process from a solution.

Synopsis

Get a process from a currently deployed solution.

One positional argument: Get the Process asset with the given ID as installed in the solution. The output is an intrinsic_proto.processes.ProcessManifest proto. $ inctl process get --org my_org --solution my_solution_id [--output_file /tmp/process.txtpb] [--process_format textproto|binaryproto] com.example.my_process

No positional argument: Get the "active" process which is currently loaded in the executive. The output is an intrinsic_proto.executive.BehaviorTree proto. $ inctl process get --org my_org --solution my_solution_id [--output_file /tmp/process.txtpb] [--process_format textproto|binaryproto]

[legacy process support] One positional argument: Get the legacy process with the given name as stored in the solution. The output is an intrinsic_proto.executive.BehaviorTree proto. $ inctl process get --org my_org --solution my_solution_id [--output_file /tmp/process.txtpb] [--process_format textproto|binaryproto] "My Process"

inctl process get [asset_id] [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 string Id of the solution to interact with. For example, use 'inctl solutions list --org my_org --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