mirror of
https://github.com/zrepl/zrepl.git
synced 2024-11-21 16:03:32 +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)
|
|
}
|
|
}
|