automatic man page generation

This commit is contained in:
Christian Goll
2021-07-22 11:53:58 +02:00
parent b27951b59f
commit 8d5162f88a
3 changed files with 34 additions and 3 deletions

16
cmd/man_page/man_page.go Normal file
View File

@@ -0,0 +1,16 @@
// usage: ./bash_completion <FILE>
package main
import (
"fmt"
"os"
"github.com/hpcng/warewulf/internal/app/wwctl"
)
func main() {
if err := wwctl.GenManTree(os.Args[1]); err != nil {
fmt.Println(err)
return
}
}