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
---lines=N
Section titled “---lines=N”Return N lines of logs
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
—no-restart
Section titled “—no-restart”Don’t restart server during the restoring
Example usage:
root@xmanage:~# xmanage server restore-backup MyServer 2024-02-21T12:53+01:00.tar.gz --no-restart
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