blob: c5714e2d4f99eef8a429a68c3e8120a44136b47d [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/x/lib/cmdline/testdata/gendoc.go .
package main
import (
"os"
"v.io/v23"
"v.io/x/ref/cmd/mgmt/device/impl"
_ "v.io/x/ref/profiles/static"
)
func main() {
gctx, shutdown := v23.Init()
impl.SetGlobalContext(gctx)
exitCode := impl.Root().Main()
shutdown()
os.Exit(exitCode)
}