Current project was created use Cobra Generator. https://github.com/spf13/cobra/blob/master/cobra/README.md
Cobra docs. https://github.com/spf13/cobra
$ cobra -h
$ cobra init goArtisan -a farwish --pkg-name github.com/farwish/goArtisan
$ cobra add -h
$ cobra add [command name] [flags]
$ go run main.go [command name]
https://github.com/spf13/cobra/blob/master/cobra/README.md#configuring-the-cobra-generator
for example:
author: ethan <farwish@foxmail.com>
year: 2020
license:
header: This file is part of CLI application.
text: |
{{ .copyright }}
See in cmd/root.go
$ go mod download