Permalink
Browse files

updating the documenation and close to 1.0 launch...still need to wri…

…te tests
  • Loading branch information...
1 parent 3dc3a67 commit b5151086feea32ef69034a85e715843bb06b76d3 @wbailey committed May 20, 2012
Showing with 6 additions and 2 deletions.
  1. +3 −0 README.md
  2. +1 −0 claws.gemspec
  3. +2 −2 lib/claws/command/ec2.rb
  4. BIN pkg/claws-1.0.0.gem
View
@@ -6,6 +6,9 @@ Services account. This gem will do the following things well:
1. It will allow you to get a text based interface of the status of your hosts like you use in the
AWS console.
1. It will give you a choice of which host to connect to and automatically ssh you to it.
+
+![Screenshot](http://i.imgur.com/m7thC.png)
+
1. Integrate with Capistrano definitions so that one can filter listings by environment and roles.
I would like to start with the EC2 services but branch out into the others as well like RDS when the
View
@@ -21,4 +21,5 @@ Gem::Specification.new do |gem|
gem.add_development_dependency "bundler", ">= 1.0.0"
gem.add_dependency 'command_line_reporter', '>=3.2.1'
+ gem.add_dependency 'aws-sdk', '>=1.0'
end
@@ -32,13 +32,13 @@ def self.exec(options)
selection = options.selection
else
print "Select server (enter q to quit): "
- selection = gets.chomp.to_i
+ selection = gets.chomp
exit 0 if selection.match(/^q.*/i)
end
puts 'connecting to server...'
- system "ssh #{config.aws_user}@#{instances[selection].dns_name}"
+ system "ssh #{config.aws_user}@#{instances[selection.to_i].dns_name}"
end
end
end
View
Binary file not shown.

0 comments on commit b515108

Please sign in to comment.