-
Notifications
You must be signed in to change notification settings - Fork 1
/
commands_devel.go
73 lines (68 loc) · 1.56 KB
/
commands_devel.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Copyright 2015 Keybase, Inc. All rights reserved. Use of
// this source code is governed by the included BSD license.
// +build !production
// this is the list of commands for the devel version of the
// client.
package client
import (
"github.com/keybase/cli"
"github.com/keybase/client/go/libcmdline"
"github.com/keybase/client/go/libkb"
)
func GetCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command {
return []cli.Command{
NewCmdBTC(cl, g),
NewCmdCert(cl),
NewCmdCompatDecrypt(cl),
NewCmdCompatDir(cl),
NewCmdCompatEncrypt(cl),
NewCmdCompatPush(cl),
NewCmdCompatSign(cl),
NewCmdCompatVerify(cl),
NewCmdConfig(cl),
NewCmdCtl(cl, g),
NewCmdDb(cl, g),
NewCmdDevice(cl, g),
NewCmdFavorite(cl),
NewCmdID(cl),
NewCmdLaunchd(cl, g),
NewCmdListTracking(cl),
NewCmdListTrackers(cl),
NewCmdLogin(cl, g),
NewCmdLogout(cl, g),
NewCmdPaperKey(cl),
NewCmdPassphrase(cl),
NewCmdPGP(cl),
NewCmdPing(cl),
NewCmdProve(cl),
NewCmdReset(cl),
NewCmdRevoke(cl),
NewCmdSearch(cl),
NewCmdSigs(cl),
NewCmdSignup(cl, g),
NewCmdStatus(cl),
NewCmdStress(cl),
NewCmdTrack(cl),
NewCmdUnlock(cl),
NewCmdUntrack(cl),
NewCmdVersion(cl, g),
}
}
var extraSignupFlags = []cli.Flag{
cli.StringFlag{
Name: "p, passphrase",
Usage: "Specify a passphrase",
},
cli.StringFlag{
Name: "d, device",
Usage: "Specify a device name",
},
cli.BoolFlag{
Name: "b, batch",
Usage: "Batch mode (don't prompt, use all defaults)",
},
cli.BoolFlag{
Name: "devel",
Usage: "run the client in development mode",
},
}