Add usage for experimental features

main v0.0.8
Micke Nordin 2 months ago
parent 35593bb503
commit a4dd0912fc

@ -49,15 +49,16 @@ bashcompinit
source <(knotctl completion) source <(knotctl completion)
``` ```
## Usage ## Usage
``` ```
usage: knotctl [-h] [--json | --no-json] {add,completion,config,delete,list,update} ... usage: knotctl [-h] [--json | --no-json]
{add,auditlog,changelog,completion,config,delete,list,update}
...
Manage DNS records with knot dns rest api: Manage DNS records with knot dns rest api:
* https://gitlab.nic.cz/knot/knot-dns-rest * https://gitlab.nic.cz/knot/knot-dns-rest
positional arguments: positional arguments:
{add,completion,config,delete,list,update} {add,auditlog,changelog,completion,config,delete,list,update}
options: options:
-h, --help show this help message and exit -h, --help show this help message and exit
@ -134,6 +135,29 @@ options:
-s SHELL, --shell SHELL -s SHELL, --shell SHELL
``` ```
### AUDITLOG
```
usage: knotctl auditlog [-h]
Audit the log file for errors.
options:
-h, --help show this help message and exit
```
### CHANGELOG
```
usage: knotctl changelog [-h] -z ZONE
View the changelog of a zone.
options:
-h, --help show this help message and exit
-z ZONE, --zone ZONE
```
### CONFIG ### CONFIG
``` ```

Loading…
Cancel
Save