Command Line Interface around api