Create the click parser and command function