mirror of
https://github.com/sern-handler/cli
synced 2026-06-22 07:42:23 +00:00
16 lines
358 B
Go
16 lines
358 B
Go
package cli
|
|
|
|
import (
|
|
"github.com/sern-handler/cli/pkg/initialize"
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var initCmd = &cobra.Command{
|
|
Use: "init",
|
|
Short: "Initialize a new Sern project.",
|
|
Long: `Initialize a new Sern project, either with a JavaScript or a TypeScript template.`,
|
|
Run: func(cmd *cobra.Command, args []string) {
|
|
initialize.Initialize()
|
|
},
|
|
}
|