CMDSyntax is a library for parsing command line arguments according to a syntax definition, returning dictionaries which contain the values supplied by the user and rejecting inconsistent user input.