blob: 556a2b9e31499fe60e7b4bdfa5fb2b9f69ed4463 [file] [log] [blame]
Bogdan Capritad8204052015-01-28 10:40:34 -08001package impl
2
3import (
Jiri Simsa6ac95222015-02-23 16:11:49 -08004 "v.io/v23/context"
Bogdan Capritad8204052015-01-28 10:40:34 -08005
6 "v.io/lib/cmdline"
7)
8
9var gctx *context.T
10
11func SetGlobalContext(ctx *context.T) {
12 gctx = ctx
13}
14
15func Root() *cmdline.Command {
16 return &cmdline.Command{
17 Name: "device",
18 Short: "Tool for interacting with the veyron device manager",
19 Long: `
20The device tool facilitates interaction with the veyron device manager.
21`,
Robin Thellend6bb0b092015-02-09 15:53:47 -080022 Children: []*cmdline.Command{cmdInstall, cmdInstallLocal, cmdUninstall, cmdStart, associateRoot(), cmdDescribe, cmdClaim, cmdStop, cmdSuspend, cmdResume, cmdRevert, cmdUpdate, cmdDebug, aclRoot()},
Bogdan Capritad8204052015-01-28 10:40:34 -080023 }
24}