Skip to content

Latest commit

 

History

History
16 lines (10 loc) · 255 Bytes

node_go.md

File metadata and controls

16 lines (10 loc) · 255 Bytes

node.go

node 子命令进一步支持 start、status 等子命令。

// Cmd returns the cobra command for Node
func Cmd() *cobra.Command {
    nodeCmd.AddCommand(startCmd())
    nodeCmd.AddCommand(statusCmd())

    return nodeCmd
}