sshman 0.3.2 → 0.3.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d12769822a842e3ec98115729fbf351cd75f03e0ae53c49c54b2a13b71244fd
4
- data.tar.gz: bd84b232c52e2f24596c92addb1fc28b682fc9e6b48d5bb45ba074ec1912aafc
3
+ metadata.gz: 95b126861e05a2fb4a50da69ab3060075a854414c3b963fc8ad89ecff1fbfb77
4
+ data.tar.gz: fcce6a2de34434038680d4782c2e715004ab64dfe60a672fc531084c40b21982
5
5
  SHA512:
6
- metadata.gz: 0b2503b2800696599505134a309163732628c718a3b71ee5f072cb658f4b3909d818aae5002a4727b987f956e3f34c59fa07921f2cecf089a00b32ba5fd86aa9
7
- data.tar.gz: 877cbdd15680f0dc88b5e1c642c91b455c64a5661968797680c245ee4e1bdb4c1564daea471a3fd6683599457a643310b270dbce41126075b705ccd865cbc4f4
6
+ metadata.gz: 07e18d13632d2743542c862d2052bd43aa3a274e2ad1844fbcd34c208b16c8ae4ef672bdb1dd987798401c42ed738c829c02ab17d46c832aae6195e96d441662
7
+ data.tar.gz: 737a39f39c65b9d8378a6d8d08c8f7a466a583e0622eb568a8f414463e03ca54df169c808bf338cb5da6b305800f06efb175a121897428d27ed544aafceb3909
data/lib/sshman/cli.rb CHANGED
@@ -44,26 +44,26 @@ module Sshman
44
44
  ensure_csv_file
45
45
 
46
46
  loop do
47
- puts "\n#{YELLOW}Options:#{RESET_COLOR} list, add, edit, delete, connect, generate_key, help, quit"
47
+ puts "\n#{YELLOW}Options:#{RESET_COLOR} (1)list, (2)add, (3)edit, (4)delete, (5)connect, (6)generate_key, (7)help, (q)quit"
48
48
  print "#{CYAN}Choose an option: #{RESET_COLOR}"
49
49
  option = gets.chomp.downcase.strip
50
50
 
51
51
  case option
52
- when 'list'
52
+ when 'list', 'ls', '1'
53
53
  list_servers
54
- when 'add'
54
+ when 'add', '2'
55
55
  add_server
56
- when 'edit'
56
+ when 'edit', '3'
57
57
  edit_server
58
- when 'delete'
58
+ when 'delete', '4'
59
59
  delete_server
60
- when 'connect'
60
+ when 'connect', '5'
61
61
  connect_to_server
62
- when 'generate_key'
62
+ when 'generate_key', '6'
63
63
  KeyManager.generate_key
64
- when 'help'
64
+ when 'help', '7'
65
65
  display_help
66
- when 'quit'
66
+ when 'quit', 'q'
67
67
  puts "#{GREEN}Goodbye!#{RESET_COLOR}"
68
68
  break
69
69
  else
@@ -1,5 +1,5 @@
1
1
  # lib/sshman/version.rb
2
2
 
3
3
  module Sshman
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sshman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - SubnetMasked