Helpers for building command-line apps
