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.
If you're enjoying this tool, please consider donating. Your donation will allow me to:
- improve the Linux VR ecosystem and software support
- keep this software up-to-date and secure
- continue developing high-quality software
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.
