ooni-probe-cli/internal/cli/app/app.go
2018-07-14 16:58:08 +02:00

16 lines
266 B
Go

package app
import (
"os"
ooni "github.com/ooni/probe-cli"
"github.com/ooni/probe-cli/internal/cli/root"
)
// Run the app. This is the main app entry point
func Run() error {
root.Cmd.Version(ooni.Version)
_, err := root.Cmd.Parse(os.Args[1:])
return err
}