feat: init repo

This commit is contained in:
Rogee
2024-12-18 19:42:10 +08:00
parent c3f965035c
commit b68316a778
46 changed files with 1770 additions and 0 deletions

20
main.go Normal file
View File

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