Module Backup::CLI::Helpers
In: lib/backup/cli/helpers.rb

Methods

command_name   run   utility  

Constants

UTILITY = {}

Public Instance methods

Returns the name of the command name from the given command line

Runs a system command

All messages generated by the command will be logged. Messages on STDERR will be logged as warnings.

If the command fails to execute, or returns a non-zero exit status an Error will be raised.

Returns STDOUT

Returns the full path to the specified utility. Raises an error if utility can not be found in the system‘s $PATH

[Validate]