-
Notifications
You must be signed in to change notification settings - Fork 1
/
commands_devel.go
45 lines (40 loc) · 1.01 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
// 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{
NewCmdDecrypt(cl, g),
NewCmdEncrypt(cl, g),
NewCmdFavorite(cl),
NewCmdShowNotifications(cl, g),
NewCmdStress(cl),
NewCmdTestPassphrase(cl, g),
NewCmdTestFSNotify(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",
},
}