Bogdan Caprita | d820405 | 2015-01-28 10:40:34 -0800 | [diff] [blame] | 1 | package impl |
2 | |||||
3 | import ( | ||||
Jiri Simsa | 6ac9522 | 2015-02-23 16:11:49 -0800 | [diff] [blame] | 4 | "v.io/v23/context" |
Bogdan Caprita | d820405 | 2015-01-28 10:40:34 -0800 | [diff] [blame] | 5 | |
6 | "v.io/lib/cmdline" | ||||
7 | ) | ||||
8 | |||||
9 | var gctx *context.T | ||||
10 | |||||
11 | func SetGlobalContext(ctx *context.T) { | ||||
12 | gctx = ctx | ||||
13 | } | ||||
14 | |||||
15 | func Root() *cmdline.Command { | ||||
16 | return &cmdline.Command{ | ||||
17 | Name: "device", | ||||
18 | Short: "Tool for interacting with the veyron device manager", | ||||
19 | Long: ` | ||||
20 | The device tool facilitates interaction with the veyron device manager. | ||||
21 | `, | ||||
Robin Thellend | 6bb0b09 | 2015-02-09 15:53:47 -0800 | [diff] [blame] | 22 | Children: []*cmdline.Command{cmdInstall, cmdInstallLocal, cmdUninstall, cmdStart, associateRoot(), cmdDescribe, cmdClaim, cmdStop, cmdSuspend, cmdResume, cmdRevert, cmdUpdate, cmdDebug, aclRoot()}, |
Bogdan Caprita | d820405 | 2015-01-28 10:40:34 -0800 | [diff] [blame] | 23 | } |
24 | } |