minimal dirty CLI implementation