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

docs: auto generate Dragonfly cli/api/contributors docs via code #1255

Merged
merged 1 commit into from
Mar 20, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.