Registry / cli / clamp
library1.5.2rbrubygemsunverified

An object-model for command-line utilities that handles option parsing and usage help generation.

gem install clamp
INSTALL
IMPORT
SIG · CLAMP
C
clamp
clirubyv1.5.2
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.

Clamp
require 'clamp'

Define a simple CLI command with a parameter

require 'clamp' class GreetCommand < Clamp::Command parameter 'NAME', 'the person to greet' def execute puts "Hello, #{name}!" end end GreetCommand.run
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.5.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
OpenAI (training)
1
Resources
clamp — gem install clamp · libregistry