Very crude (untested) cli.