forked from keybase/client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmd_pgp.go
31 lines (28 loc) · 768 Bytes
/
cmd_pgp.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
// Copyright 2015 Keybase, Inc. All rights reserved. Use of
// this source code is governed by the included BSD license.
package client
import (
"github.com/keybase/cli"
"github.com/keybase/client/go/libcmdline"
"github.com/keybase/client/go/libkb"
)
func NewCmdPGP(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command {
return cli.Command{
Name: "pgp",
Usage: "Manage keybase PGP keys",
ArgumentHelp: "[arguments...]",
Subcommands: []cli.Command{
NewCmdPGPGen(cl),
NewCmdPGPPull(cl, g),
NewCmdPGPUpdate(cl),
NewCmdPGPSelect(cl),
NewCmdPGPSign(cl),
NewCmdPGPEncrypt(cl, g),
NewCmdPGPDecrypt(cl, g),
NewCmdPGPVerify(cl, g),
NewCmdPGPExport(cl),
NewCmdPGPImport(cl),
NewCmdPGPDrop(cl),
},
}
}