Available options
—color=[color]
Section titled “—color=[color]”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
Example usage:
root@xmanage:~# xmanage help --color=red
—no-color
Section titled “—no-color”Disables every color from the commands
Example usage:
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
—port=[port]
Section titled “—port=[port]”Makes API use custom port, instead of 8041
Example usage:
root@xmanage:~# xmanage api run --port=3050[Info] Starting API on port 3050
—version
Section titled “—version”Show current version and license
Example usage:
root@xmanage:~# xmanage --version
—no-mount
Section titled “—no-mount”Create server without mount point
Example usage:
root@xmanage:~# xmanage server create --no-mount
—directory=*
Section titled “—directory=*”Create server with custom directory
Example usage:
root@xmanage:~# xmanage server create --directory=./path/to/dir
—no-restart
Section titled “—no-restart”Don’t restart server during the restoring
Example usage:
root@xmanage:~# xmanage server myServer backup restore 2024-02-21T12:53+01:00.tar.gz --no-restart
—no-ptree
Section titled “—no-ptree”Don’t show the process tree
Example usage:
root@xmanage:~# xmanage server myServer status --no-ptree
—lines=*
Section titled “—lines=*”Show last N lines of logs
Example usage:
root@xmanage:~# xmanage server myServer logs --lines=10
Enables SSL for API
Example usage:
root@xmanage:~# xmanage api run --port=3050 --ssl
—ssl-cert
Section titled “—ssl-cert”Use SSL certificate file for SSL
Example usage:
root@xmanage:~# xmanage api run --port=3050 --ssl --ssl-cert=./cert.pem
—ssl-key
Section titled “—ssl-key”Use SSL private key file for SSL
Example usage:
root@xmanage:~# xmanage api run --port=3050 --ssl --ssl-key=./key.pem