command line interface for basic operations