Add todo around subcommand issues

This commit is contained in:
sholderbach 2024-08-04 21:56:51 +02:00
parent 26fb470ec3
commit bd89c600e1

View File

@ -105,6 +105,13 @@ fn get_documentation(
long_desc.push_str("\n\n");
}
// TODO: improve the subcommand name resolution
// issues:
// - Aliases are included
// - https://github.com/nushell/nushell/issues/11657
// - Subcommands are included violating module scoping
// - https://github.com/nushell/nushell/issues/11447
// - https://github.com/nushell/nushell/issues/11625
let mut subcommands = vec![];
let signatures = engine_state.get_signatures(true);
for sig in signatures {