Creating commands - aabs/fishdots GitHub Wiki

"Commands" is just a name for the convention of using command names within a parent utility, such as with tools like git. The aim is to provide naming conventions, namespace management, self-documentation, and automated event or function dispatching.

Fishdots provides a framework for building such hierarchical command patterns. It is loaded during fishdots' initial boot loading phase, and is available to all plug-ins. You build commands using three functions; define_command, define_subcommand and define_subcommand_nonevented.