Registry / cli / cri
library2.15.12rbrubygemsunverified

Cri allows building easy-to-use command-line interfaces with support for subcommands.

gem install cri
INSTALL
IMPORT
SIG · CRI
C
cri
clirubyv2.15.12
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.

Cri
require 'cri'

Define and run a simple CLI command

require 'cri' cmd = Cri::Command.define do name 'hello' run do |opts, args| puts "Hello, #{args[0]}" end end cmd.run(['world'])
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.15.12latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
27 hits · last 30 days
node
26
Resources
cri — gem install cri · libregistry