/
commands_devel.go
71 lines (63 loc) · 1.66 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
// 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 getBuildSpecificCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command {
return []cli.Command{
NewCmdAccountDelete(cl, g),
NewCmdAccountReset(cl, g),
NewCmdAPICall(cl, g),
NewCmdCheckTracking(cl, g),
NewCmdFakeTrackingChanged(cl, g),
NewCmdFavorite(cl, g),
NewCmdPaperProvision(cl, g),
NewCmdPGPProvision(cl, g),
NewCmdSecretKey(cl, g),
NewCmdShowNotifications(cl, g),
NewCmdStress(cl, g),
NewCmdTestPassphrase(cl, g),
NewCmdTestFSNotify(cl, g),
newCmdTlf(cl, g),
NewCmdScanProofs(cl, g),
newCmdTeamGenerateSeitan(cl, g),
newCmdTeamRotateKey(cl, g),
newCmdTeamDebug(cl, g),
}
}
func getBuildSpecificChatCommands(cl *libcmdline.CommandLine, g *libkb.GlobalContext) []cli.Command {
return []cli.Command{
newCmdChatDeleteHistoryDev(cl, g),
}
}
var restrictedSignupFlags = []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: "pgp",
Usage: "Add a server-synced pgp key",
},
}
var restrictedProveFlags = []cli.Flag{
cli.BoolFlag{
Name: "auto",
Usage: "[rooter only] Automatically make the rooter toot proof",
},
}
const develUsage = true