Skip to content

安装之后执行mcube执行mcube -v 不显示版本 #3

@shiqi4671281

Description

@shiqi4671281

安装版本1.9.1之后执行mcube执行mcube -v 不显示版本。看到cmd里的root代码,是直接返回help
RunE: func(cmd *cobra.Command, args []string) error {
return cmd.Help()
},
没有加version的逻辑

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions