add --log-file command line argument

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel
2022-02-03 18:56:55 +01:00
parent 6c5db9dbc2
commit 951ecf4d77
39 changed files with 112 additions and 33 deletions

View File

@@ -15,10 +15,10 @@ var (
outputDir string
docsCmd = &cobra.Command{
Use: "docs",
Short: "Generate documentation for the wice commands",
// Hidden: true,
Args: cobra.NoArgs,
Use: "docs",
Short: "Generate documentation for the wice commands",
Hidden: true,
Args: cobra.NoArgs,
RunE: func(cmd *cobra.Command, args []string) error {
if err := docsMarkdown(cmd, args); err != nil {
return err