Hello there. I am playing around with a command that defines a PersistentPreRun. This command has a sub command. This sub command as well wants to use PersistentPreRun. When the root command is executed its PersistentPreRun is executed as expected. When executing the sub command I expected both PersistentPreRuns to be executed, but only the sub command's PersistentPreRun is executed. I expect this as a bug. What do you guys think? Thanks for listening.
Hello there. I am playing around with a command that defines a
PersistentPreRun. This command has a sub command. This sub command as well wants to usePersistentPreRun. When the root command is executed itsPersistentPreRunis executed as expected. When executing the sub command I expected bothPersistentPreRuns to be executed, but only the sub command'sPersistentPreRunis executed. I expect this as a bug. What do you guys think? Thanks for listening.