Skip to content

can't create cmd and subcmd with same name, it will be overwrited? #93

@yushanjin

Description

@yushanjin

e.g:
run cobra-cli add get, it will generate cmd/get.go
run cobra-cli add config, it will generate cmd/config.go
run cobra-cli add get -p 'configCmd', it will also generate cmd/get.go

the thrid command will overwrite cmd/get.go

finally, we can't have 'app get ' and 'app config get ' two commands at the same time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions