blob: a6107d8afd173869bacf15e007fc2baf9770fdf3 [file] [log] [blame]
// The following enables go generate to generate the doc.go file.
//go:generate go run $VANADIUM_ROOT/release/go/src/v.io/lib/cmdline/testdata/gendoc.go .
package main
import (
"os"
"v.io/v23"
_ "v.io/core/veyron/profiles/static"
"v.io/core/veyron/tools/mgmt/device/impl"
)
func main() {
gctx, shutdown := v23.Init()
impl.SetGlobalContext(gctx)
exitCode := impl.Root().Main()
shutdown()
os.Exit(exitCode)
}