command line interface for simple operations