Executing mzcli Commands (4.0)

To execute the mzcli commands you can either run:

java -jar mzcli.jar mzcli <options> <command>

or, omit the mzcli :

java -jar <name of jar file> <options> <command>

It is mandatory to state the --host and --port options, see the Options section below for more information.

If no <command> is stated, mzcli will go into an interactive mode session, for example:

java -jar mzcli.jar [mzcli] --host --port

You can then run the commands directly without starting them with java -jar mzcli.jar mzcli --host --port.

In non-interactive mode, the command and its arguments can be stated in the same command, for example:

java -jar mzcli.jar [mzcli] --host --port <command> [<arguments>]

Example - mzcli command

Below are a few examples of how you can use mzcli provided you have done one of the following:

  • configured properties

  • created a profile

  • entered interactive mode

To list all available workflows:

To list only valid workflows:

 

 

Â