mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-22 15:11:16 +01:00
b44a005bbb
Use opportunity to structure project by subcommands.
16 lines
222 B
Go
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)
|
|
}
|
|
}
|