Registry / cli / main
library6.4.0rbrubygemsunverified

A class factory and DSL for generating command line programs quickly in Ruby.

gem install main
INSTALL
IMPORT
SIG · MAIN
M
main
clirubyv6.4.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Main
require 'main'

Create a simple command-line program with argument handling.

require 'main' Main do argument('name') def run puts "Hello, #{params['name'].value}!" end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
6.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
22
Resources
main — gem install main · libregistry