Apocrypha

optimist

A commandline option parser for Ruby that just gets out of your way

Optimist is a commandline option parser for Ruby that just gets out of your way. One line of code per option is all you need to write. For that, you get a nice automatically-generated help page, robust option parsing, command subcompletion, and sensible defaults for everything you don't specify.

Available in

OverlayNewestEbuildsLast activity
gentoo gitweb ↗ 3.2.1 2 13 h details ›

Versions & arches

VersionOverlay amd64arm64x86ppc64hppappcsparcx64-macosx64-solaris Committed
3.2.1 gentoo amd64 testing arm64 testing x86 testing ppc64 testing hppa testing ppc testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗
3.2.0 gentoo amd64 testing arm64 testing x86 testing ppc64 testing hppa testing ppc testing sparc testing x64-macos testing x64-solaris testing view · download · history ↗

Use flags of 3.2.1

  • test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
  • doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
4 expansion flags (python targets, ABIs, cpu flags…)
  • ruby_targets_ruby32
  • ruby_targets_ruby33
  • ruby_targets_ruby34
  • ruby_targets_ruby40

Runtime dependencies of 3.2.1

show 24 lines
ruby_targets_ruby32? (
)
ruby_targets_ruby33? (
)
ruby_targets_ruby34? (
)
ruby_targets_ruby40? (
)
ruby_targets_ruby32? (
)
ruby_targets_ruby33? (
)
ruby_targets_ruby34? (
)
ruby_targets_ruby40? (
)