Argument parsing for cli