lncli: remove deprecated shell command

This commit removes the shell command as it’s now deprecated since it
was never fully implemented.
This commit is contained in:
Olaoluwa Osuntokun 2016-12-27 15:25:43 -08:00
parent 2651541139
commit 367be2d385
No known key found for this signature in database
GPG Key ID: 9CC5B105D03521A2
2 changed files with 1 additions and 9 deletions

@ -31,14 +31,6 @@ func printRespJson(resp interface{}) {
out.WriteTo(os.Stdout) out.WriteTo(os.Stdout)
} }
var ShellCommand = cli.Command{
Name: "shell",
Usage: "enter interactive shell",
Action: func(c *cli.Context) {
println("not implemented yet")
},
}
var NewAddressCommand = cli.Command{ var NewAddressCommand = cli.Command{
Name: "newaddress", Name: "newaddress",
Usage: "generates a new address. Three address types are supported: p2wkh, np2wkh, p2pkh", Usage: "generates a new address. Three address types are supported: p2wkh, np2wkh, p2pkh",
@ -757,6 +749,7 @@ func describeGraph(ctx *cli.Context) error {
client := getClient(ctx) client := getClient(ctx)
req := &lnrpc.ChannelGraphRequest{} req := &lnrpc.ChannelGraphRequest{}
graph, err := client.DescribeGraph(context.Background(), req) graph, err := client.DescribeGraph(context.Background(), req)
if err != nil { if err != nil {
return err return err

@ -57,7 +57,6 @@ func main() {
ListPeersCommand, ListPeersCommand,
WalletBalanceCommand, WalletBalanceCommand,
ChannelBalanceCommand, ChannelBalanceCommand,
ShellCommand,
GetInfoCommand, GetInfoCommand,
PendingChannelsCommand, PendingChannelsCommand,
SendPaymentCommand, SendPaymentCommand,