feat: add logger logic

This commit is contained in:
d3m0k1d
2026-02-19 13:14:48 +03:00
parent 4b64e118e0
commit b7be6647f8
2 changed files with 48 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
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()
}