BSD Ports

devel/rubygem-main 6.3.0 DragonFly

Class Factory and Dsl for Generating Command Line Programs

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD2CLAUSE, RUBY
Categories
devel, rubygems
Package size
35.3 KiB, 168.8 KiB installed

Description

main.rb features the following: - unification of option, argument, keyword, and environment parameter parsing - auto generation of usage and help messages - support for mode/sub-commands - io redirection support - logging hooks using ruby's built-in logging mechanism - intelligent error handling and exit codes - use as dsl or library for building Main objects - parsing user defined ARGV and ENV - zero requirements for understanding the obtuse apis of any command line option parsers - leather pants

In short main.rb aims to drastically lower the barrier to writing uniform command line applications.

In the other systems

SystemPortVersion
DragonFlydevel/rubygem-main6.3.0
FreeBSDdevel/rubygem-main6.4.0

Install

Binary package:

pkg install rubygem-main

From DPorts:

cd /usr/dports/devel/rubygem-main && make install clean

Dependencies

Run dependencies 6

No port depends on this one.