Use ooni/probe-engine: episode 1 (#42)

This commit is contained in:
Simone Basso
2019-05-23 16:38:46 +02:00
committed by GitHub
parent eb4fec2f21
commit df629237be
15 changed files with 147 additions and 322 deletions
+2 -2
View File
@@ -4,13 +4,13 @@ import (
"os"
"github.com/apex/log"
ooni "github.com/ooni/probe-cli"
"github.com/ooni/probe-cli/internal/cli/root"
"github.com/ooni/probe-cli/version"
)
// Run the app. This is the main app entry point
func Run() {
root.Cmd.Version(ooni.Version)
root.Cmd.Version(version.Version)
_, err := root.Cmd.Parse(os.Args[1:])
if err != nil {
log.WithError(err).Error("failure in main command")