0c5b6aa37c
This is the command I used: ``` rg 'github.com/openobservatory/gooni' --files-with-matches \ | xargs sed -i '' 's/github.com\/openobservatory\/gooni/github.com\/ooni\/probe-cli/g' ```
26 lines
612 B
Go
26 lines
612 B
Go
package main
|
|
|
|
import (
|
|
// commands
|
|
"github.com/apex/log"
|
|
|
|
_ "github.com/ooni/probe-cli/internal/cli/geoip"
|
|
_ "github.com/ooni/probe-cli/internal/cli/info"
|
|
_ "github.com/ooni/probe-cli/internal/cli/list"
|
|
_ "github.com/ooni/probe-cli/internal/cli/nettest"
|
|
_ "github.com/ooni/probe-cli/internal/cli/run"
|
|
_ "github.com/ooni/probe-cli/internal/cli/show"
|
|
_ "github.com/ooni/probe-cli/internal/cli/upload"
|
|
_ "github.com/ooni/probe-cli/internal/cli/version"
|
|
|
|
"github.com/ooni/probe-cli/internal/cli/app"
|
|
)
|
|
|
|
func main() {
|
|
err := app.Run()
|
|
if err == nil {
|
|
return
|
|
}
|
|
log.WithError(err).Fatal("main exit")
|
|
}
|