Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
set -euo pipefail
# arrays to store common information about commands
# the set of defined arrays can be treated as the set of fields defined for a simple object or struct where each field type is a primitive type
# ex. the following defines a command struct that is analogous to
# object Command {
# String function
# String usageHelp