Skip to content

Commit e910d21

Browse files
authored
comments(genDocCommand): add runDoc method to generate markdown docs (#3967)
Signed-off-by: yxxhero <aiopsclub@163.com>
1 parent 9935857 commit e910d21

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/dependency/doc_cmd.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func (g *genDocCommand) bindFlags() {
5858
flagSet.StringVar(&g.path, "path", "./", "destination dir of generated markdown documents")
5959
}
6060

61+
// runDoc generates markdown documents.
6162
func (g *genDocCommand) runDoc() error {
6263
_ = os.MkdirAll(g.path, fs.FileMode(0700))
6364
file, err := os.Stat(g.path)

0 commit comments

Comments
 (0)