Skip to main content

Command-line Interface Commands

You can use the Incentives command-line interface (CLI) to run processes.

You can use these commands:

Tip

CLI commands are case-sensitive.

calcall

Calculate all objects in the model.

runproc processpath <main folder/sub folder/process>

Run a saved process that is named <process>. The full path to the process must be provided in order to run it. For example, main folder/sub folder/process.

optimize

Optimizes the model. This command is used to ensure favorable calculation time after data is updated in the model.

The command must be typed after the model connection information.

This command connects to the SoftCo model and calculates all objects in the model:

"IBM Incentives Command Line Tool.exe" --host "https://spm.varicent.com" --model "SoftCo" --usernamename "admin" --password "aStr0ngP@ssw0rd" --function "calcall"

This command connects to the SoftCo model and calculates all objects in the model and run a saved process that is called Imports:

"IBM Incentives Command Line Tool.exe" --host "https://spm.varicent.com" --model "SoftCo" --username "admin" --password "aStr0ngP@ssw0rd" --function "runproc" --processpath "main process/sub process/Imports"

This command connects to the SoftCo model and optimizes the model:

"IBM Incentives Command Line Tool.exe" --host "https://spm.varicent.com" --model "SoftCo" --username "admin" --password "aStr0ngP@ssw0rd" --function "optimize"

Tip

You can replace the spm.varicent.com host URL based on your login point.