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:
3 files changed
+126
No files matched your search
@@ -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)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user