Archived
2
0

minor changes

This commit is contained in:
Craig
2020-01-26 10:43:08 +00:00
parent e7ff0e8b8d
commit 06feef7559
4 changed files with 60 additions and 54 deletions

View File

@ -1,8 +1,6 @@
package cmd
import (
"fmt"
"github.com/rs/zerolog/log"
"github.com/spf13/cobra"
@ -32,5 +30,5 @@ func init() {
log.Panic().Err(err).Msg("unable to run root command")
}
root.SetVersionTemplate(fmt.Sprintf("version: %s\n", neko.Service.Version))
root.SetVersionTemplate(neko.Service.Version.Details())
}