Filter:

Submit Search

# Using the command line tool

The comsof_ws command line tool allows you to manipulate workspaces from the command line. This can be useful for batch processing and for problem investigation.

The signature of the command is:

>     comsof_ws <db_name> <workspace_id> <operation>

Supported operations are:

Operation | Purpose
create | Create workspace from template
export | Populate workspace with features from the Network Manager database
acquire_licence | Send licence request and add licence to workspace
run | Run a Comsof Integration Module processing step on the workspace
import | Populate Network Manager design from workspace
list | Show contents of workspace (data counts, records, ...)

Some examples of use are:

- Create and populate workspace for the comsof_workspace with feature ID `3`:

>     comsof_ws comsof 3 create --overwrite

>     comsof_ws comsof 3 export

- List record counts in comsof_workspace with feature ID `5`:

>     comsof_ws comsof 5 list data

- Runs some pre-processing steps on comsof_workspace with feature ID `17`:

>     comsof_ws comsof 17 run streetDoubler processInput

- Acquire licence for comsof_workspace with feature ID `17`, with logging request and response:

>     comsof_ws comsof 17 acquire_licence -–verbosity 8

For more information use --help.