BSD Ports

devel/rubygem-main 6.4.0 FreeBSD

Class Factory and Dsl for Generating Command Line Programs

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD2CLAUSE, RUBY
Categories
devel, rubygems
Package size
38.1 KiB, 170.4 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
FreeBSDdevel/rubygem-main6.4.0
DragonFlydevel/rubygem-main6.3.0

Install

Binary package:

pkg install rubygem-main

From the ports tree:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	rubygem-main>0:devel/rubygem-main

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest6.4.06.4.06.2.36.4.06.4.0
FreeBSD:14:quarterly6.4.06.4.0n/a6.4.06.4.0
FreeBSD:15:latest6.4.06.4.0n/a6.4.06.4.0
FreeBSD:15:quarterly6.4.06.4.0n/an/an/a
FreeBSD:16:latest6.4.06.4.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Runtime 4

The full lists below include those, and their dependencies in turn.

Build dependencies 6
Run dependencies 10

Configuration

No options to configure.

USES
gem
Service scripts
none

Files

distinfo 1
FileSizeSHA256
rubygem/main-6.4.0.gem424966e7973576414987099726337d07cec3ed427a44fafaf5f9156417a78191d7e97
Master sites 1
  • RG

Commit history 0

No commits in the history this site was built from.