How to Implement Modular Subcommands in Bash