wip: command_line: improve for handling namespaces