cli: only one output selection
compiler: add namespace, fix typos