fabrika/cmd/root.go

28 lines
554 B
Go
Raw Permalink Normal View History

package cmd
import (
"github.com/spf13/cobra"
)
var (
// Used for flags.
userLicense string
rootCmd = &cobra.Command{
Use: "zerkalo",
Short: "",
//Long: `Cobra is a CLI library for Go that empowers applications.
//This application is a tool to generate the needed files
//to quickly create a Cobra application.`,
}
)
// Execute executes the root command.
func Execute() error {
return rootCmd.Execute()
}
func init() {
// rootCmd.PersistentFlags().StringVarP(&userLicense, "license", "l", "", "name of license for the project")
}