node.go
node 子命令进一步支持 start、status 等子命令。
// Cmd returns the cobra command for Node
func Cmd() *cobra.Command {
nodeCmd.AddCommand(startCmd())
nodeCmd.AddCommand(statusCmd())
return nodeCmd
}
Last updated
Was this helpful?
node 子命令进一步支持 start、status 等子命令。
// Cmd returns the cobra command for Node
func Cmd() *cobra.Command {
nodeCmd.AddCommand(startCmd())
nodeCmd.AddCommand(statusCmd())
return nodeCmd
}
Last updated
Was this helpful?