Skip to content

[Ftr]Run functions for both a command and its subcommands? #165

@liotev

Description

@liotev

Hi, as far as I can see, if a command has a :runs function, then even if it has :subcommands, they are simply ignored. Is there any way to have :runs functions both for a command and its sub commands?

I mean if we take Git as an example, there is the git remote command which shows remotes, but it also has sub commands, for example git remote add, git remote rename etc.

Is it possible to have this pattern with the current version of cli-matic?

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