Clap is a small library that can be bundled with your command line application. It covers the simple case of executing code based on the flags or parameters passed.
Michel Martens
gem "clap", "~> 1.0.0"