Add support for validation on the command line