k3d/docgen
Thorsten Klein 99fe3c75c4
[BREAKING] Config File Enhancements: v1alpha3, migrations, generic k3s-args (#605)
Excerpt:
- new version v1alpha3 with k3s extraArgs using node filters
  - reflected in CLI via --k3s-arg
- new migration option to migrate (internally and via cli) from v1alpha2
to v1alpha3
- enhancements to how config files are being read
- e2e tests for config file migration
2021-07-06 13:20:17 +02:00
..
go.mod [BREAKING] Config File Enhancements: v1alpha3, migrations, generic k3s-args (#605) 2021-07-06 13:20:17 +02:00
go.sum [BREAKING] Config File Enhancements: v1alpha3, migrations, generic k3s-args (#605) 2021-07-06 13:20:17 +02:00
main.go [Enhancement] docs: add automatic command tree generation via cobra (#562) 2021-04-14 14:14:07 +02:00
README.md [BREAKING] Config File Enhancements: v1alpha3, migrations, generic k3s-args (#605) 2021-07-06 13:20:17 +02:00

docgen

Only used to generate the command tree for https://k3d.io/usage/commands.

The code will output files in ../docs/usage/commands/

Run

  • may required a replace github.com/rancher/k3d/v4 => PATH/TO/LOCAL/REPO in the go.mod
# 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