Command-line shell framework