Skip to content
nanobowers edited this page Mar 6, 2017 · 4 revisions

Welcome to the Trollop Documentation and Examples wiki!

Basic Example - The basic example from the original Trollop documentation with some additional commentary

Medium Example - A more comprehensive example and a few variations on it. Also a discussion of dependencies/conflicts and Trollop::die

Banner, Synopsis and Version - Ways to decorate your help message and provide version information.

Option Types - Discusses how to assign types to options

Controlling Short Options - Trollop auto-generates short-options. What you need to know about this behavior and how to wrangle it.