blob: c7178d7539941f62a729d566d5b682f28c487775 [file] [log] [blame]
package impl
import (
"v.io/v23/context"
"v.io/x/lib/cmdline"
)
var gctx *context.T
func SetGlobalContext(ctx *context.T) {
gctx = ctx
}
func Root() *cmdline.Command {
return &cmdline.Command{
Name: "device",
Short: "Tool for interacting with the vanadium device manager",
Long: `
The device tool facilitates interaction with the vanadium device manager.
`,
Children: []*cmdline.Command{cmdInstall, cmdInstallLocal, cmdUninstall, cmdStart, associateRoot(), cmdDescribe, cmdClaim, cmdStop, cmdSuspend, cmdResume, cmdRevert, cmdUpdate, cmdUpdateAll, cmdDebug, aclRoot(), cmdPublish},
}
}