mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-11-12 07:08:24 +01:00
lncli: add "connect" command
usage: lncli connect <lnid>@host:port Currently one must specify port since we haven’t yet chosen an “official” p2p port
This commit is contained in:
@@ -55,11 +55,11 @@ func main() {
|
||||
app.Commands = []cli.Command{
|
||||
NewAddressCommand,
|
||||
SendManyCommand,
|
||||
ConnectCommand,
|
||||
ShellCommand,
|
||||
}
|
||||
|
||||
if err := app.Run(os.Args); err != nil {
|
||||
fatal(err)
|
||||
}
|
||||
|
||||
// ctx := context.Background()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user