awful 0.0.62 → 0.0.63
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/awful.rb +6 -0
- data/lib/awful/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 838579407d4f4d8373a3447e842a7c65ff05a6dc
|
4
|
+
data.tar.gz: 320d7466dae268b2e6555bf4f978d857a1f768c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 27ffeba59bcc5a12d8e937893082c28630be89bad814db812ba5f494a326a1053b8e2418d3d18780e0dba794e24b6bfc4ca3d3ea9194c6ee8bf91a91eaef3aa0
|
7
|
+
data.tar.gz: 5709f47d2461e8d2b3f33f2e041ecf28441c1629befeb9b0c447159c58d7a1c8204ec9438598b3b611e770334732eab2039c38be637ab69520fe53430560b65c
|
data/lib/awful.rb
CHANGED
@@ -10,6 +10,12 @@ module Awful
|
|
10
10
|
class Cli < Thor
|
11
11
|
class_option :env, aliases: '-e', default: nil, desc: 'Load environment variables from file'
|
12
12
|
class_option :quiet, aliases: '-q', default: nil, desc: 'Quieten output'
|
13
|
+
class_option :region, default: nil, desc: 'Set region; can use AWS_REGION instead'
|
14
|
+
|
15
|
+
def initialize(args = [], local_options = {}, config = {})
|
16
|
+
super
|
17
|
+
ENV['AWS_REGION'] = options[:region] if options[:region] #cmdline override for region
|
18
|
+
end
|
13
19
|
|
14
20
|
no_commands do
|
15
21
|
def ec2
|
data/lib/awful/version.rb
CHANGED