Skip to content

Available options

Uses custom color in every command instead of cyan

Supported colors:

red, green, yellow, blue, magenta, cyan, gray, lime_yellow, powder_blue

Other colors:

1-255 ANSI color number

colors

Example usage:

Terminal window
root@xmanage:~# xmanage help --color=red

Disables every color from the commands

Example usage:

Terminal window
root@xmanage:~# xmanage help --no-color

JSON mode; Any output is in JSON form, input is parsed as JSON JSON format is the same for both API and CLI JSON


Makes API use custom port, instead of 8041

Example usage:

Terminal window
root@xmanage:~# xmanage api run --port=3050
[Info] Starting API on port 3050

Show current version and license

Example usage:

Terminal window
root@xmanage:~# xmanage --version

Create server without mount point

Example usage:

Terminal window
root@xmanage:~# xmanage server create --no-mount

Create server with custom directory

Example usage:

Terminal window
root@xmanage:~# xmanage server create --directory=./path/to/dir

Don’t restart server during the restoring

Example usage:

Terminal window
root@xmanage:~# xmanage server myServer backup restore 2024-02-21T12:53+01:00.tar.gz --no-restart

Don’t show the process tree

Example usage:

Terminal window
root@xmanage:~# xmanage server myServer status --no-ptree

Show last N lines of logs

Example usage:

Terminal window
root@xmanage:~# xmanage server myServer logs --lines=10

Enables SSL for API

Example usage:

Terminal window
root@xmanage:~# xmanage api run --port=3050 --ssl

Use SSL certificate file for SSL

Example usage:

Terminal window
root@xmanage:~# xmanage api run --port=3050 --ssl --ssl-cert=./cert.pem

Use SSL private key file for SSL

Example usage:

Terminal window
root@xmanage:~# xmanage api run --port=3050 --ssl --ssl-key=./key.pem