cmd/root/cmd.go
Function runRootCmd
has 94 lines of code (exceeds 50 allowed). Consider refactoring. Wontfix
Wontfix
func runRootCmd(_ *cobra.Command, _ []string) {
var err error
if viper.GetBool("version") {
if version == "" || len(commit) < 7 || date == "" {
- Create a ticketCreate a ticket