mirror of
https://github.com/d3m0k1d/ciweave.git
synced 2026-03-14 19:02:43 +00:00
23 lines
337 B
Go
23 lines
337 B
Go
package main
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
"os"
|
|
)
|
|
|
|
var rootCmd = &cobra.Command{
|
|
Use: "ciweave",
|
|
Short: "automatic pipeline generator",
|
|
Long: "ciweave is a automatic pipeline generator for ci/cd written in golang",
|
|
}
|
|
|
|
func Execute() {
|
|
if err := rootCmd.Execute(); err != nil {
|
|
os.Exit(1)
|
|
}
|
|
}
|
|
|
|
func main() {
|
|
Execute()
|
|
}
|