Clap: InferSubcommands for sub-subcommands?


I have nested subcommands, like git pull origin master. I have a toplevel .setting(AppSettings::InferSubcommands) So I can just do git pu and it detects the pull subcommand. However, I cant do git p o m and clap infer it appropriately. The setting is only applied on top level subcommands.

Is there any workaround to get nested subcommand inference ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.