|
|
@ -95,28 +95,28 @@ EXAMPLES: |
|
|
|
|
|
|
|
|
|
|
|
var flags = []cli.Flag{ |
|
|
|
var flags = []cli.Flag{ |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "domain,d", |
|
|
|
Name: "domain", |
|
|
|
Value: "", |
|
|
|
Value: "", |
|
|
|
Usage: "domain used for routing incoming API requests", |
|
|
|
Usage: "domain used for routing incoming API requests", |
|
|
|
}, |
|
|
|
}, |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "api-address,a", |
|
|
|
Name: "port-api", |
|
|
|
Value: ":9000", |
|
|
|
Value: ":9000", |
|
|
|
Usage: "address for incoming API requests", |
|
|
|
Usage: "address for incoming API requests", |
|
|
|
}, |
|
|
|
}, |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "web-address,w", |
|
|
|
Name: "port-mgmt", |
|
|
|
Value: ":9001", |
|
|
|
Value: ":9001", |
|
|
|
Usage: "address for incoming Management UI requests", |
|
|
|
Usage: "address for incoming Management UI requests", |
|
|
|
}, |
|
|
|
}, |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "cert,c", |
|
|
|
Name: "cert", |
|
|
|
Hide: true, |
|
|
|
Hide: true, |
|
|
|
Value: "", |
|
|
|
Value: "", |
|
|
|
Usage: "cert.pem", |
|
|
|
Usage: "cert.pem", |
|
|
|
}, |
|
|
|
}, |
|
|
|
cli.StringFlag{ |
|
|
|
cli.StringFlag{ |
|
|
|
Name: "key,k", |
|
|
|
Name: "key", |
|
|
|
Hide: true, |
|
|
|
Hide: true, |
|
|
|
Value: "", |
|
|
|
Value: "", |
|
|
|
Usage: "key.pem", |
|
|
|
Usage: "key.pem", |
|
|
|