Update KubeVela.io CLI Reference Doc
- step up these two projects in the same folder.
$ tree -L 1
.
├── kubevela
└── kubevela.io
- Run generate command in kubevela root dir.
cd kubevela/
go run ./hack/docgen/cli/gen.go
- Update more docs such as i18n zh
$ go run ./hack/docgen/cli/gen.go ../kubevela.io/i18n/zh/docusaurus-plugin-content-docs/current/cli
scanning rootPath of CLI docs for replace: ../kubevela.io/i18n/zh/docusaurus-plugin-content-docs/current/cli
- Then you can check the difference in kubevela.io.
cd ../kubevela.io
git status