-
Notifications
You must be signed in to change notification settings - Fork 1.2k
/
cmd_wallet.go
50 lines (47 loc) · 1.47 KB
/
cmd_wallet.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
package client
import (
"sort"
"github.com/keybase/cli"
"github.com/keybase/client/go/libcmdline"
"github.com/keybase/client/go/libkb"
)
func newCmdWallet(cl *libcmdline.CommandLine, g *libkb.GlobalContext) cli.Command {
// please keep sorted
subcommands := []cli.Command{
// newCmdWalletAddTrustline(cl, g),
// newCmdWalletAPI(cl, g),
// newCmdWalletAssetSearch(cl, g),
newCmdWalletBalances(cl, g),
// newCmdWalletCancel(cl, g),
// newCmdWalletCancelAll(cl, g),
// newCmdWalletCancelRequest(cl, g),
// newCmdWalletChangeTrustlineLimit(cl, g),
// newCmdWalletDeleteTrustline(cl, g),
newCmdWalletDetail(cl, g),
newCmdWalletExport(cl, g),
// newCmdWalletGetInflation(cl, g),
// newCmdWalletGetStarted(cl, g),
// newCmdWalletHistory(cl, g),
// newCmdWalletImport(cl, g),
// newCmdWalletLookup(cl, g),
// newCmdWalletMerge(cl, g),
// newCmdWalletPopularAssets(cl, g),
// newCmdWalletRename(cl, g),
// newCmdWalletRequest(cl, g),
// newCmdWalletSend(cl, g),
// newCmdWalletSendPathPayment(cl, g),
// newCmdWalletSetCurrency(cl, g),
// newCmdWalletSetInflation(cl, g),
// newCmdWalletSetMobileOnly(cl, g),
// newCmdWalletSetPrimary(cl, g),
// newCmdWalletSign(cl, g),
}
subcommands = append(subcommands, getBuildSpecificWalletCommands(cl, g)...)
sort.Sort(cli.ByName(subcommands))
return cli.Command{
Name: "wallet",
Usage: "Send and receive Stellar XLM",
ArgumentHelp: "[arguments...]",
Subcommands: subcommands,
}
}