chore: export wait cli command
This commit is contained in:
parent
14a809d291
commit
1d50cdd85a
@ -59,7 +59,7 @@ var CommonCommands = []*cli.Command{
|
|||||||
NetCmd,
|
NetCmd,
|
||||||
AuthCmd,
|
AuthCmd,
|
||||||
LogCmd,
|
LogCmd,
|
||||||
waitApiCmd,
|
WaitApiCmd,
|
||||||
fetchParamCmd,
|
fetchParamCmd,
|
||||||
pprofCmd,
|
pprofCmd,
|
||||||
VersionCmd,
|
VersionCmd,
|
||||||
@ -76,7 +76,7 @@ var Commands = []*cli.Command{
|
|||||||
WithCategory("developer", StateCmd),
|
WithCategory("developer", StateCmd),
|
||||||
WithCategory("developer", ChainCmd),
|
WithCategory("developer", ChainCmd),
|
||||||
WithCategory("developer", LogCmd),
|
WithCategory("developer", LogCmd),
|
||||||
WithCategory("developer", waitApiCmd),
|
WithCategory("developer", WaitApiCmd),
|
||||||
WithCategory("developer", fetchParamCmd),
|
WithCategory("developer", fetchParamCmd),
|
||||||
WithCategory("network", NetCmd),
|
WithCategory("network", NetCmd),
|
||||||
WithCategory("network", SyncCmd),
|
WithCategory("network", SyncCmd),
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"github.com/urfave/cli/v2"
|
"github.com/urfave/cli/v2"
|
||||||
)
|
)
|
||||||
|
|
||||||
var waitApiCmd = &cli.Command{
|
var WaitApiCmd = &cli.Command{
|
||||||
Name: "wait-api",
|
Name: "wait-api",
|
||||||
Usage: "Wait for lotus api to come online",
|
Usage: "Wait for lotus api to come online",
|
||||||
Action: func(cctx *cli.Context) error {
|
Action: func(cctx *cli.Context) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user