Chapter 3. Command Line Reference

Table of Contents

Squore CLI Commands
Squore CLI Parameters
Project Parameters
Exit Codes

In this chapter, you will learn about the commands and options you can use with squore-engine.jar

Tip

In order to run a command, you always need to specify at least:

  • -Dsquore.home.dir=<SQUORE_HOME> to tell java there Squore CLI is installed

  • --url=http://localhost:8180/SQuORE_Server to tell Squore CLI which Squore Server to connect to.

  • --login=demo to tell Squore CLI which user to connect with.

  • --commands="..." to tell Squore CLI what action you need it to perform.

squore.home.dir is used to set the location of Squore CLI's config.xml to ${squore.home.dir}/config.xml. If your config.xml is in a different location, you can specify it on the command line with the option: -Dsquore.configuration=/path/to/config.xml.