mirror of
https://github.com/zrepl/zrepl.git
synced 2024-12-23 07:28:57 +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)
|
|
}
|
|
}
|