2021-08-27 19:25:43 +00:00
|
|
|
//go:build nodaemon
|
2019-07-18 23:18:26 +00:00
|
|
|
// +build nodaemon
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"errors"
|
|
|
|
|
2020-06-02 18:12:53 +00:00
|
|
|
"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")
|
|
|
|
},
|
|
|
|
}
|