Module: ShellHelpers

Extended by:
ShellHelpers
Includes:
CLILogging, ExitNow, Export, LogHelpers, Run, Sh, SysUtils, Utils
Included in:
ShellHelpers, FU
Defined in:
lib/shell_helpers.rb,
lib/shell_helpers/sh.rb,
lib/shell_helpers/run.rb,
lib/shell_helpers/utils.rb,
lib/shell_helpers/export.rb,
lib/shell_helpers/logger.rb,
lib/shell_helpers/version.rb,
lib/shell_helpers/pathname.rb,
lib/shell_helpers/sysutils.rb,
lib/shell_helpers/logger.bak.rb

Defined Under Namespace

Modules: CLILogging, ExitNow, Export, ExtendSSHKit, FU, LogHelpers, PathnameExt, Run, Sh, ShConfig, ShDryRun, ShLog, ShQuiet, ShSilent, SudoLoop, SysUtils, Utils Classes: CLILogger, ColorFormatter, ColorLogger, ExitError, FailedCommandError, MoreLogger, Pathname, ProcessStatus, VirtualFile

Constant Summary collapse

ShError =

}}}

Class.new(StandardError)
VERSION =

shell_helpers version

"0.7.1"

Constants included from SysUtils

SysUtils::SysError

Constants included from Export

Export::ExportError, Export::ImportError

Constants included from CLILogging

CLILogging::LOG_LEVELS

Constants included from Run

Run::RunError

Instance Attribute Summary

Attributes included from Sh

#default_sh_options, #spawned

Method Summary

Methods included from LogHelpers

#debug, #log, #log_options, #process_log_options

Methods included from SysUtils

#blkid, #find_device, #find_devices, #findmnt, #fs_infos, #losetup, #lsblk, #make_btrfs_subvolume, #make_dir_or_subvolume, #make_fs, #make_partitions, #make_raw_image, #mount, #parse_blkid, #partition_infos, #partition_type, #refresh_blkid_cache, #stat_file, #stat_filesystem, #umount, #wipefs, #zap_partitions

Methods included from Utils

#capture_stdout, #escape_pager, #eval_shell, #find, #find_executable, #find_file, #find_files, #output_list, #rsync, #run_pager, #ssh

Methods included from Export

#escape_name, #export_parse, #export_value, #export_variable, #export_variables, #import_parse, #import_value, #import_variable

Methods included from Sh

#change_sh_logger, #sh, #sh!, #sh_commands, #sh_or_proc, #shrun, #wait_spawned

Methods included from CLILogging

#change_logger, #log_and_do, #logger, setup_toggle_trap

Methods included from ExitNow

#exit_now!

Methods included from Run

#output_of, #process_command, #run, #run_command, #run_lazy, #run_simple, #run_success, #status_of, #sudo_args