Getting basic cli and regex mapping working