package cmd import ( "github.com/spf13/cobra" ) func New() *cobra.Command { cmd := &cobra.Command{ Use: "teldrive", Short: "Teldrive", Run: func(cmd *cobra.Command, args []string) { cmd.Help() }, } cmd.AddCommand(NewRun(), NewVersion()) return cmd }