Registry / cli / mixlib-cli

mixlib-cli

JSON →
library2.1.8rbrubygemsunverified

A simple mixin for CLI interfaces, including option parsing, used by Chef and other tools.

gem install mixlib-cli
INSTALL
IMPORT
SIG · MIXLIB-CLI
M
mixlib-cli
clirubyv2.1.8
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.

Mixlib::CLI
require 'mixlib/cli'

Define and parse command-line options using Mixlib::CLI.

require 'mixlib/cli' class MyCLI include Mixlib::CLI option :verbose, short: '-v', boolean: true end cli = MyCLI.new cli.parse_options(['-v']) puts cli.config[:verbose]
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.8latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
20
OpenAI (training)
1
Resources
mixlib-cli — gem install mixlib-cli · libregistry