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

+10
View File
@@ -0,0 +1,10 @@
// +build !autopilotrpc
package main
import "github.com/urfave/cli"
// autopilotCommands will return nil for non-autopilotrpc builds.
func autopilotCommands() []cli.Command {
return nil
}