Running the Command Line Interface
The CLI has both interactive and non-interactive modes. With the interactive mode, you can choose to store your username/password in a file, or enter your username/password every time you launch the CLI.
From a terminal / shell:
- In a terminal / shell, run the mccommand executable script, with the following options:
mccommand -a https://localhost:8443 -u user -p pass
Change the address, username, and password as necessary
You can also set the address / username / password in the "conf/mirth-cli-config.properties" file, so that you do not need to enter it every time.
Once connected, you will see a welcome prompt:
Connected to Mirth® Connect server @ https://127.0.0.1:8443 (3.5.0.8232)
$
From here, you can type help to view all available commands.