Something went wrong. Try again.
Easily turn Nushell modules into cross-shell CLI tools
library nu nushell
Something went wrong. Try again.
Nushell 100%
README.md
ModCLI #
ModCLI allows you to easily turn Nushell modules into cross-shell CLI tools. This makes it much easier to write complex CLI tools with many subcommands using Nushell.
Usage #
Load this module, then call modcli install <module-source> [install-prefix] to install your module as a CLI tool.
If you're developing a CLI tool, I recommend adding this to your installation script.
See modcli install --help for more options.
Use modcli uninstall <name> [prefix] to uninstall the tool.
Hidden Functions #
You can hide functions from being listed in the help menu by prefixing them with an underscore (_). They will still be
executable when ran directly, and can be shown with the --list-all flag. This feature may be useful for debug or
one-time migration functions.