lncli: add lncli autopilot commands

This commit adds commands 'status', 'enable' and 'disable' for
autopilot.

The commands will only be enabled for autopilotrpc builds of lncli.
This commit is contained in:
Johan T. Halseth committed 2018-12-13 13:02:40 +01:00
1 parent fdf903b8a9
commit 80ac8c1df0
3 files changed
+126

No files matched your search

+3
View File
@@ -293,6 +293,9 @@ func main() {
forwardingHistoryCommand,
}
// Add any extra autopilot commands determined by build flags.
app.Commands = append(app.Commands, autopilotCommands()...)
if err := app.Run(os.Args); err != nil {
fatal(err)
}