zrepl/main.go
Christian Schwarz b44a005bbb Switch to using https://github.com/spf13/cobra for CLI.
Use opportunity to structure project by subcommands.
2017-07-06 13:36:55 +02:00

16 lines
222 B
Go

// See cmd package.
package main
import (
"github.com/zrepl/zrepl/cmd"
"log"
"os"
)
func main() {
if err := cmd.RootCmd.Execute(); err != nil {
log.Printf("error executing root command: %s", err)
os.Exit(1)
}
}