blob: 6082e6c4fc045cf8f2653626a3fece551f58ec4c [file] [log] [blame]
package impl
import (
"v.io/core/veyron2/context"
"v.io/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 veyron device manager",
Long: `
The device tool facilitates interaction with the veyron device manager.
`,
Children: []*cmdline.Command{cmdInstall, cmdInstallLocal, cmdUninstall, cmdStart, associateRoot(), cmdDescribe, cmdClaim, cmdStop, cmdSuspend, cmdResume, cmdRevert, cmdUpdate, cmdDebug, aclRoot()},
}
}