/
cmd_pgp.go
33 lines (30 loc) · 840 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
32
33
// 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, g),
NewCmdPGPPull(cl, g),
NewCmdPGPUpdate(cl, g),
NewCmdPGPSelect(cl, g),
NewCmdPGPSign(cl, g),
NewCmdPGPEncrypt(cl, g),
NewCmdPGPDecrypt(cl, g),
NewCmdPGPVerify(cl, g),
NewCmdPGPExport(cl, g),
NewCmdPGPImport(cl, g),
NewCmdPGPDrop(cl, g),
NewCmdPGPList(cl, g),
NewCmdPGPPurge(cl, g),
},
}
}