Registry / cli / toys
library0.22.0rbrubygemsunverified

Toys is a configurable command line tool that allows users to write commands in Ruby using a simple DSL, providing argument parsing, online help, and error reporting.

gem install toys
INSTALL
IMPORT
SIG · TOYS
T
toys
clirubyv0.22.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.

Toys
require 'toys'

Define and run a simple Toys command.

require 'toys' class MyTool < Toys::Tool def run puts "Hello, Toys!" end end Toys::CLI.new(MyTool).run
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.22.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

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