awscli 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/awscli/cli/ec2/instances.rb +11 -0
- data/lib/awscli/version.rb +1 -1
- metadata +3 -3
@@ -2,10 +2,21 @@ module AwsCli
|
|
2
2
|
module CLI
|
3
3
|
module EC2
|
4
4
|
require 'awscli/cli/ec2'
|
5
|
+
require 'awscli/helper'
|
5
6
|
class Instances < Thor
|
6
7
|
|
7
8
|
# default_task :list
|
8
9
|
|
10
|
+
desc 'list_sizes', 'lists available sizes of vms'
|
11
|
+
def list_sizes
|
12
|
+
puts Awscli::Instances::INSTANCE_SIZES
|
13
|
+
end
|
14
|
+
|
15
|
+
desc 'list_regions', 'lists available regions to connect to'
|
16
|
+
def list_regions
|
17
|
+
puts Awscli::Instances::REGIONS
|
18
|
+
end
|
19
|
+
|
9
20
|
desc "list", "list the instances"
|
10
21
|
long_desc <<-LONGDESC
|
11
22
|
List and describe your instances
|
data/lib/awscli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: awscli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-07-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake
|
@@ -124,7 +124,7 @@ dependencies:
|
|
124
124
|
- !ruby/object:Gem::Version
|
125
125
|
version: '0'
|
126
126
|
description: Command Line Interface for Amazon Web Services built in Ruby, using Fog
|
127
|
-
and Thor
|
127
|
+
and Thor
|
128
128
|
email: ashrith@me.com
|
129
129
|
executables:
|
130
130
|
- awscli
|