shaping the cli dialog into something useful