class Optimist::Parser

The commandline parser. In typical usage, the methods in this class will be handled internally by Optimist::options. In this case, only the opt, banner and version, depends, and conflicts methods will typically be called.

If you want to instantiate this class yourself (for more complicated argument-parsing logic), call parse to actually produce the output hash, and consider calling it from within Optimist::with_standard_exception_handling.