Shorter boilerplate code for argument parsing and handling