Use opportunity to structure project by subcommands.
This commit is contained in:
Christian Schwarz
2017-07-06 13:03:44 +02:00
parent 655b3ab55f
commit b44a005bbb
9 changed files with 409 additions and 338 deletions

15
main.go Normal file
View File

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