Describe the bug
When defining a command within a module, then using that module, help for that command does not find the command
How to reproduce
- in
foo.nu:
- in the shell:
use foo.nu
help foo bar
foo bar --help
Expected behavior
I expect both help foo bar and foo bar --help to print the help for the bar command defined within the foo module. However, only the latter form works, with the former returning an error, did not find anything under this name
Screenshots
No response
Configuration
| key |
value |
| version |
0.89.1 |
| branch |
main |
| commit_hash |
90d65bb |
| build_os |
windows-x86 |
| build_target |
i686-pc-windows-msvc |
| rust_version |
rustc 1.73.0 (cc66ad468 2023-10-03) |
| rust_channel |
1.73.0-i686-pc-windows-msvc |
| cargo_version |
cargo 1.73.0 (9c4383fb5 2023-08-26) |
| build_time |
2024-01-22 16:15:48 +08:00 |
| build_rust_channel |
release |
| allocator |
mimalloc |
| features |
default, extra, sqlite, trash, which, zip |
| installed_plugins |
|
Additional context
No response
Describe the bug
When defining a command within a module, then using that module,
helpfor that command does not find the commandHow to reproduce
foo.nu:export def bar [] {}Expected behavior
I expect both
help foo barandfoo bar --helpto print the help for thebarcommand defined within thefoomodule. However, only the latter form works, with the former returning an error,did not find anything under this nameScreenshots
No response
Configuration
Additional context
No response