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
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/rubygem-main | 6.4.0 |
| DragonFly | devel/rubygem-main | 6.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.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 6.4.0 | 6.4.0 | 6.2.3 | 6.4.0 | 6.4.0 |
| FreeBSD:14:quarterly | 6.4.0 | 6.4.0 | n/a | 6.4.0 | 6.4.0 |
| FreeBSD:15:latest | 6.4.0 | 6.4.0 | n/a | 6.4.0 | 6.4.0 |
| FreeBSD:15:quarterly | 6.4.0 | 6.4.0 | n/a | n/a | n/a |
| FreeBSD:16:latest | 6.4.0 | 6.4.0 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Runtime 4
rubygem-arrayfields>=4.9.2<5: devel/rubygem-arrayfieldsrubygem-chronic>=0.10.2<1: devel/rubygem-chronicrubygem-fattr>=2.4.0<3: devel/rubygem-fattrrubygem-map>=6.6.0<7: devel/rubygem-map
The full lists below include those, and their dependencies in turn.
Build dependencies 6
Run dependencies 10
Required by 2
Configuration
No options to configure.
- USES
- gem
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| rubygem/main-6.4.0.gem | 42496 | 6e7973576414987099726337d07cec3ed427a44fafaf5f9156417a78191d7e97 |
Master sites 1
- RG
Commit history 0
No commits in the history this site was built from.