lotus/cmd/lotus/daemon_nodaemon.go

26 lines
436 B
Go
Raw Normal View History

//go:build nodaemon
2019-07-18 23:18:26 +00:00
// +build nodaemon
package main
import (
"errors"
"github.com/urfave/cli/v2"
2019-07-18 23:18:26 +00:00
)
// DaemonCmd is the `go-lotus daemon` command
2019-07-23 21:50:52 +00:00
var DaemonCmd = &cli.Command{
2019-07-18 23:18:26 +00:00
Name: "daemon",
Usage: "Start a lotus daemon process",
Flags: []cli.Flag{
&cli.StringFlag{
Name: "api",
Value: ":1234",
},
},
Action: func(cctx *cli.Context) error {
return errors.New("daemon support not included in this binary")
},
}