A very rough implementation of cli-support