1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-30 08:53:05 +00:00
mpw/mpw-ssh

23 lines
366 B
Text
Raw Normal View History

2013-08-06 20:24:09 +00:00
#!/usr/bin/ruby
# author: nishiki
# mail: nishiki@yaegashi.fr
# info: a simple script who manage your passwords
require 'rubygems'
require 'pathname'
APP_ROOT = File.dirname(Pathname.new(__FILE__).realpath)
require "#{APP_ROOT}/CliSSH.rb"
if ARGV.length != 1
puts "Usage: mpw-ssh search"
exit 2
end
search = ARGV[0]
cli = CliSSH.new()
cli.ssh(search)
exit 0