lib/aws_ec2/wait.rb in aws-ec2-1.2.2 vs lib/aws_ec2/wait.rb in aws-ec2-1.3.0
- old
+ new
@@ -1,9 +1,8 @@
module AwsEc2
autoload :Waiter, 'aws_ec2/waiter'
class Wait < Command
-
desc "ami", "Wait until AMI available."
long_desc Help.text("wait:ami")
option :timeout, type: :numeric, default: 1800, desc: "Timeout in seconds."
def ami(name)
Waiter::Ami.new(options.merge(name: name)).wait