Registry / cli / command-line

command-line

JSON →
library2.0.1rbrubygemsunverified

An easier way to execute command line applications and get all of the output.

gem install command_line
INSTALL
IMPORT
SIG · COMMAND-LINE
C
command-line
clirubyv2.0.1
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.

CommandLine
require 'command_line'

Execute a command and capture output

require 'command_line' result = CommandLine.run('ls -la') puts result.stdout
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.0.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
32
Resources
command-line — gem install command-line · libregistry