Sha256: 6e35aca53d632ef9b69d4f69b06543e9425384f56b003a163cb37729dcd5477e
Contents?: true
Size: 1.64 KB
Versions: 2
Compression:
Stored size: 1.64 KB
Contents
= Version history [0.1.6] Added to_hash method to Opt. [0.1.5] Moved evalCheck from private methods to public methods. Opt.error/fatal/warn API methods. [0.1.4] Documentation improvements (links to methods). Fix to Opt#apply return value when type is :switch. Opt#fatal added for user error reporting towards command line user. Non-existing options for option with multiple values defaults to an empty array. Possibility to separate option definition and execution. [0.1.3] Customization through COMO env variable and hooks. Version information returned programmatically with Como.version. "command" is aliased to "subcmd" to enable highlighting of the main command. Aliases for "Spec.checkRule" and "Spec#checkRule". [0.1.2] ":check_invalid" applied correctly. Header and footer configs has to include all newlines explicitly. ":error_exit" config removed (always exit with error). Exclusive option type can have zero to many arguments. Switch-options have no values only "given" should be checked. Small changes in generated usage info display. Errors are output to stderr (not stdout). [0.1.1] Testcases use relative require to local dir. Rulecheck fixes: incr and follow. [0.1.0] Subcommand feature added along with major refactoring in class' content. Many small changes to usage model, but backwards compatible. [0.0.3] Self-value operator "~" added. Parser for options including parameter settings, i.e. the Opt#params method added. [0.0.2] Opt#given is allowed an optinal block argument. [0.0.1] Initial version.
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
como-0.1.7 | CHANGELOG.rdoc |
como-0.1.6 | CHANGELOG.rdoc |