Little helper to run CNCF's k3s in Docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
k3d/docgen/README.md

17 lines
408 B

# docgen
Only used to generate the command tree for <https://k3d.io/usage/commands>.
The code will output files in [`../docs/usage/commands/`](../docs/usage/commands/)
## Run
- may required a `replace github.com/rancher/k3d/v4 => PATH/TO/LOCAL/REPO` in the `go.mod`
```bash
# ensure that you're in the docgen dir, as the relative path to the docs/ dir is hardcoded
cd docgen
# run
go run ./main.go
```