package cmd import ( "log/slog" "github.com/spf13/cobra" ) var syncCmd = &cobra.Command{ Use: "sync", Short: "Sync Kontor Database", Long: "Sync Kontor Database", // Args: cobra.ExactArgs(2), Run: func(cmd *cobra.Command, args []string) { slog.Info("sync kontor") }, } func init() { rootCmd.AddCommand(syncCmd) }