Module: Scripto

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

Defined Under Namespace

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

Constant Summary collapse

VERSION =

current Scripto version

'0.0.4'.freeze

Constants included from MiscCommands

MiscCommands::BASE_62

Constants included from PrintCommands

PrintCommands::GREEN, PrintCommands::RED, PrintCommands::RESET, PrintCommands::YELLOW

Instance Attribute Summary

Attributes included from PrintCommands

#verbose

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 MiscCommands

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

Methods included from PrintCommands

banner, fatal, vbanner, verbose!, verbose?, vprintf, vputs, warning

Methods included from RunCommands

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