Sha256: 059f545e962dc1121769cd91582c6f6ebcccb6986ce6818ce1f954edcf91d065
Contents?: true
Size: 525 Bytes
Versions: 9
Compression:
Stored size: 525 Bytes
Contents
class KuberKit::Shell::BashCommands def rm(shell, path) shell.exec!(%Q{rm "#{path}"}) end def rm_rf(shell, path) shell.exec!(%Q{rm -rf "#{path}"}) end def cp(shell, source_path, dest_path) shell.exec!(%Q{cp "#{source_path}" "#{dest_path}"}) end def cp_r(shell, source_path, dest_path) shell.exec!(%Q{cp -r "#{source_path}" "#{dest_path}"}) end def mkdir(shell, path) shell.exec!(%Q{mkdir "#{path}"}) end def mkdir_p(shell, path) shell.exec!(%Q{mkdir -p "#{path}"}) end end
Version data entries
9 entries across 9 versions & 1 rubygems