Registry / cli / mercenary

mercenary

JSON →
library0.4.0rbrubygemsunverified

Lightweight and flexible library for writing command-line apps in Ruby.

gem install mercenary
INSTALL
IMPORT
SIG · MERCENARY
M
mercenary
clirubyv0.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.

Mercenary
require 'mercenary'

Define a simple CLI command

require 'mercenary' Mercenary.program(:myapp) do |p| p.command(:hello) do |c| c.action do |args, options| puts "Hello, world!" end end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
mercenary — gem install mercenary · libregistry