Subcommands: app add, app list

A tool that does several jobs gives each job a word of its own, a subcommand, as git and docker do: a case on the first argument picks the job, shift drops that word, and one function per subcommand does the work.

Updated

Cheat sheet for the lesson Subcommands: app add, app list: A tool that does several jobs gives each job a word of its own, a subcommand, as git and docker do: a case on the first argument picks the job, shift drops that word, and one function per subcommand does the work.
Category
Bash
Level
Freelancer
Tags
case-statement, linux, shell-function, shift(), subcommand, unix