chore: export wait cli command

This commit is contained in:
frrist 2021-03-23 16:26:12 -07:00
parent 14a809d291
commit 1d50cdd85a
2 changed files with 3 additions and 3 deletions

View File

@ -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),

View File

@ -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 {