-
Notifications
You must be signed in to change notification settings - Fork 36
Home
Jason Frey edited this page Mar 9, 2018
·
6 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.
Commands - An example using commands, in a manner similar to git
, that each have separate options and help.
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.