Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
Merge pull request #1255 from pouchrobot/auto-doc-2020-03-20
Browse files Browse the repository at this point in the history
docs: auto generate Dragonfly cli/api/contributors docs via code
  • Loading branch information
lowzj authored Mar 20, 2020
2 parents f27e2e4 + 532c391 commit bae7528
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/cli_reference/dfdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ dfdaemon [flags]
### SEE ALSO

* [dfdaemon config](dfdaemon_config.md) - Manage the configurations of dfdaemon
* [dfdaemon gen-ca](dfdaemon_gen-ca.md) - generate CA files, including ca.key and ca.crt
* [dfdaemon gen-doc](dfdaemon_gen-doc.md) - Generate Document for dfdaemon command line tool in MarkDown format
* [dfdaemon version](dfdaemon_version.md) - Show the current version of dfdaemon

27 changes: 27 additions & 0 deletions docs/cli_reference/dfdaemon_gen-ca.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## dfdaemon gen-ca

generate CA files, including ca.key and ca.crt

### Synopsis

generate CA files, including ca.key and ca.crt

```
dfdaemon gen-ca [flags]
```

### Options

```
--cert-output string destination path of generated ca.crt file (default "/tmp/ca.crt")
--common-name string subject common name of the certificate, if not specified, the hostname will be used
--expire-duration duration expire duration of the certificate (default 87600h0m0s)
-h, --help help for gen-ca
--key-output string destination path of generated ca.key file (default "/tmp/ca.key")
--overwrite whether to overwrite the existing CA files
```

### SEE ALSO

* [dfdaemon](dfdaemon.md) - The dfdaemon is a proxy that intercepts image download requests.

0 comments on commit bae7528

Please sign in to comment.