add gitignore, cli shell

This commit is contained in:
Tadge Dryja
2015-12-30 16:19:09 -04:00
parent a93b6dcee4
commit 31f3df2183
9 changed files with 405 additions and 4 deletions

View File

@@ -7,7 +7,7 @@ import (
"github.com/codegangsta/cli"
"golang.org/x/net/context"
"li.lan/labs/plasma/rpcprotos"
"li.lan/labs/plasma/lnrpc"
)
func printRespJson(resp interface{}) {
@@ -21,6 +21,12 @@ func printRespJson(resp interface{}) {
out.WriteTo(os.Stdout)
}
var ShellCommand = cli.Command{
Name: "shell",
Usage: "enter interactive shell",
Action: shell,
}
var NewAddressCommand = cli.Command{
Name: "newaddress",
Usage: "gets the next address in the HD chain",