CLI framework for building command-line interfaces from Python functions, classes, and class instances