Merge branch '2.2' into develop

This commit is contained in:
Markus Mäkelä
2018-06-20 10:26:29 +03:00
12 changed files with 212 additions and 147 deletions

View File

@ -59,8 +59,9 @@ HTTPS/TLS Options:
[boolean] [default: true]
Options:
--version Show version number [boolean]
--help Show help [boolean]
--version Show version number [boolean]
--tls-passphrase Password for the TLS private key [string]
--help Show help [boolean]
```
## list
@ -680,6 +681,11 @@ Usage: api <command>
Commands:
get <resource> [path] Get raw JSON
API options:
--sum Calculate sum of API result. Only works for arrays of numbers e.g. `api
get --sum servers data[].attributes.statistics.connections`.
[boolean] [default: false]
```
### api get