class KuberKit::Shell::Commands::BashCommands
Public Instance Methods
cp(shell, source_path, dest_path)
click to toggle source
# File lib/kuber_kit/shell/commands/bash_commands.rb, line 10 def cp(shell, source_path, dest_path) shell.exec!(%Q{cp "#{source_path}" "#{dest_path}"}) end
cp_r(shell, source_path, dest_path)
click to toggle source
# File lib/kuber_kit/shell/commands/bash_commands.rb, line 14 def cp_r(shell, source_path, dest_path) shell.exec!(%Q{cp -r "#{source_path}" "#{dest_path}"}) end
mkdir(shell, path)
click to toggle source
# File lib/kuber_kit/shell/commands/bash_commands.rb, line 18 def mkdir(shell, path) shell.exec!(%Q{mkdir "#{path}"}) end
mkdir_p(shell, path)
click to toggle source
# File lib/kuber_kit/shell/commands/bash_commands.rb, line 22 def mkdir_p(shell, path) shell.exec!(%Q{mkdir -p "#{path}"}) end
rm(shell, path)
click to toggle source
# File lib/kuber_kit/shell/commands/bash_commands.rb, line 2 def rm(shell, path) shell.exec!(%Q{rm "#{path}"}) end
rm_rf(shell, path)
click to toggle source
# File lib/kuber_kit/shell/commands/bash_commands.rb, line 6 def rm_rf(shell, path) shell.exec!(%Q{rm -rf "#{path}"}) end