Module: Scripto

Extended by:
CsvCommands, FileCommands, LogCommands, MiscCommands, RunCommands
Defined in:
lib/scripto.rb,
lib/scripto/main.rb,
lib/scripto/version.rb,
lib/scripto/csv_commands.rb,
lib/scripto/log_commands.rb,
lib/scripto/run_commands.rb,
lib/scripto/file_commands.rb,
lib/scripto/misc_commands.rb

Defined Under Namespace

Modules: CsvCommands, FileCommands, LogCommands, MiscCommands, RunCommands Classes: Main

Constant Summary collapse

VERSION =

current Scripto version

"1.0.0".freeze

Constants included from LogCommands

LogCommands::GREEN, LogCommands::RED, LogCommands::RESET, LogCommands::YELLOW

Constants included from MiscCommands

MiscCommands::BASE_62

Method Summary

Methods included from CsvCommands

csv_read, csv_to_s, csv_to_stdout, csv_write

Methods included from FileCommands

atomic_write, chmod, chown, copy_metadata, cp, cp_if_necessary, ln, ln_if_necessary, mkdir, mkdir_if_necessary, mv, rm, rm_and_mkdir, rm_if_necessary

Methods included from LogCommands

banner, fatal, log_with_color=, log_with_color?, logger, logger=, options, options=, quiet!, quiet?, verbose!, verbose?, warning

Methods included from MiscCommands

md5_file, md5_string, prompt?, random_string, root?, whoami

Methods included from RunCommands

run, run_capture, run_fails?, run_quietly, run_succeeds?, shellescape