k3d/docgen
2021-04-20 07:39:51 +02:00
..
go.mod [FEATURE] IPAM via subnet flag (#560) 2021-04-20 07:39:51 +02:00
go.sum [FEATURE] IPAM via subnet flag (#560) 2021-04-20 07:39:51 +02:00
main.go [Enhancement] docs: add automatic command tree generation via cobra (#562) 2021-04-14 14:14:07 +02:00
README.md [Enhancement] docs: add automatic command tree generation via cobra (#562) 2021-04-14 14:14:07 +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

# 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