Appy/cmd/run.go
2021-04-26 07:50:38 -05:00

26 lines
609 B
Go

package cmd
import (
"github.com/digarok/appy/core"
"github.com/spf13/cobra"
)
// runCmd represents the run command
var runCmd = &cobra.Command{
Use: "run",
Short: "A brief description of your command",
Long: `A longer description that spans multiple lines and likely contains examples
and usage of using your command. For example:
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.`,
Run: func(cmd *cobra.Command, args []string) {
core.Run()
},
}
func init() {
rootCmd.AddCommand(runCmd)
}