Ruby Shell::CommandProcessor Functions
EditRocket provides the following information on Shell::CommandProcessor functions in the Ruby source code builder.
add_delegate_command_to_shell(id) -
alias_command(ali, command, *opts, &block) -
alias_map() -
append(to, filter) -
cat(*filenames) -
check_point() - ProcessCommand#transact
concat(*jobs) -
def_builtin_commands(delegation_class, command_specs) - CommandProcessor.def_builtin_commands(delegation_class, command_specs)
def_system_command(command, path = command) - CommandProcessor.def_system_command(command, path)
echo(*strings) -
expand_path(path) - CommandProcessor#expand_path(path)
find_system_command(command) -
finish_all_jobs() - "Alias for #check_point"
foreach(path = nil, *rs) - File related commands Shell#foreach Shell#open Shell#unlink Shell#test
glob(pattern) - def sort(*filenames)
initialize() -
install_builtin_commands() - define default builtin commands
install_system_commands(pre = "sys_") - CommandProcessor.install_system_commands(pre)
method_added(id) -
mkdir(*path) - Dir related methods
new(shell) -
notify(*opts, &block) - "%pwd, %cwd -> @pwd"
open(path, mode) - CommandProcessor#open(path, mode)
out(dev = STDOUT, &block) - internal commands
rehash() - ProcessCommand#rehash
rmdir(*path) - CommandProcessor#rmdir(*path)
run_config() - include run file.
system(command, *opts) - CommandProcessor#system(command, *opts)
tee(file) -
test(command, file1, file2=nil) - CommandProcessor#test(command, file1, file2) CommandProcessor#[command, file1, file2]
transact(&block) -
unalias_command(ali) -
undef_system_command(command) -
unlink(path) - CommandProcessor#unlink(path)