Sha256: 4d0c7ea2f8622182d6df9117d707ab23560dd23dc53e8f487876fb5dd6852f33
Contents?: true
Size: 489 Bytes
Versions: 1
Compression:
Stored size: 489 Bytes
Contents
#!/usr/bin/env ruby require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib sshp])) require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib sshp version])) require File.expand_path(File.join(File.dirname(__FILE__), %w[.. lib sshp alias])) if ARGV.any? if args = SSHP::Alias.all[ARGV[0]] command = "ssh #{args} #{ARGV[1..-1].join(" ")}" puts "Executing #{command}" exec command end end puts "No alias found" puts "SSHP Version #{SSHP::VERSION}"
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sshp-0.0.1 | bin/sshp |