switch hyper to cobra

This commit is contained in:
David Eads
2018-01-17 12:34:04 -05:00
parent ee14d2edf0
commit e48847e6ce
16 changed files with 154 additions and 1072 deletions

View File

@@ -18,6 +18,7 @@ package main
import (
goflag "flag"
"fmt"
"math/rand"
"os"
"time"
@@ -44,6 +45,7 @@ func main() {
defer logs.FlushLogs()
if err := command.Execute(); err != nil {
fmt.Fprintf(os.Stderr, "%v\n", err)
os.Exit(1)
}
}