Files
atomctl/main.go
2024-12-18 19:42:10 +08:00

21 lines
324 B
Go

package main
import (
"git.ipao.vip/rogeecn/atomctl/cmd"
log "github.com/sirupsen/logrus"
"github.com/spf13/cobra"
)
func main() {
rootCmd := &cobra.Command{
Use: "atomctl",
Short: "atom framework command line tool",
}
cmd.CommandNew(rootCmd)
if err := rootCmd.Execute(); err != nil {
log.Fatal(err)
}
}