1
0
Fork 0
mirror of https://github.com/nishiki/manage-password.git synced 2024-11-27 07:33:05 +00:00
mpw/mpw-ssh
2013-08-06 22:24:09 +02:00

22 lines
366 B
Ruby
Executable file

#!/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