Skip to content
Dave Copeland edited this page Nov 27, 2010 · 4 revisions

Features

GLI provides many features to make a command-suite style application very easy.

  • Declarative DSL for parsing global options, identifying the command, command-specific options, and arguments. See Interface for what the UI of your application will be.
  • Automatic help command that describes your application's commands, but also describes the options to each command. All this is formatted nicely and you don't have to do a thing (see Home for an example)
  • Automatic management of an "rc-style" YAML-based configuration file. See Config for how to use it.
  • Assistance with shell completion of your application's commands. See ShellCompletion
  • Automatically generates RDoc of your application's UI. See RDoc.
  • Works on Ruby 1.8.7 and 1.9.2. See Platforms.
  • Pre and Post hooks, as well as custom error handling. See Hooks.
Clone this wiki locally