lesyjs
lesyjs copied to clipboard
clash of sub commands with same name
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 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?