You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that if a cli has 2 sub commands with the same name but with different main, it select the first regardless of the subcommand group
Reading the code seems aliases uses the main to create the commands list but not the plain command itself. When selecting the command there is a check on the parent but I cannot understand if it actually take in consideration the parent command structure.
Could it be a bug or am I overlooking something?
The text was updated successfully, but these errors were encountered:
Hi great project!
I noticed that if a cli has 2 sub commands with the same name but with different
main
, it select the first regardless of the subcommand groupReading the code seems aliases uses the main to create the commands list but not the plain command itself. When selecting the command there is a check on the parent but I cannot understand if it actually take in consideration the parent command structure.
Could it be a bug or am I overlooking something?
The text was updated successfully, but these errors were encountered: