Initial commit
This commit is contained in:
15
cmd/init.go
Normal file
15
cmd/init.go
Normal file
@@ -0,0 +1,15 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"speedrun/config"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var initCmd = &cobra.Command{
|
||||
Use: "init",
|
||||
Short: "Initialize speedrun",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
return config.Create()
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user