jack-eb 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jack/cli.rb +1 -0
- data/lib/jack/config/upload.rb +1 -1
- data/lib/jack/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: 73c0ce463429a061837cb8a50b938bcb34e5e15c
|
4
|
+
data.tar.gz: 6bbc5befe4d04f6f7d1777a742616d2299dcf07e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0e77678baa85b6be6b7b2ccb02e4dd5fa7aaefb4cdf7bc65af5487abfa32888dfd153ae70043812b78c961da6fefb49aa2c37683fc6bfa202a7108929916f405
|
7
|
+
data.tar.gz: 79b5531fe309ce1de78dbf96c1f91850a00c566c29652ad2826e2bdc50c92f1152d4e6c2af68610649fb464afc5800b8462c5da04a0127a61c8a546b61c957cf
|
data/lib/jack/cli.rb
CHANGED
@@ -7,6 +7,7 @@ module Jack
|
|
7
7
|
class ConfigCLI < Thor
|
8
8
|
desc "upload ENV_NAME", "upload and apply jack config changes to EB environment"
|
9
9
|
long_desc Jack::CLI::Help.upload
|
10
|
+
option :force, aliases: :f, type: :boolean, desc: "skip prompt"
|
10
11
|
def upload(env_name)
|
11
12
|
Jack::Config::Upload.new(options.merge(env_name: env_name)).run
|
12
13
|
end
|
data/lib/jack/config/upload.rb
CHANGED
@@ -47,7 +47,7 @@ overwrite your #{@local_config_path} instead, you can use this command:
|
|
47
47
|
$ jack config download #{@env_name}
|
48
48
|
$ jack config help download # for more info
|
49
49
|
EOL
|
50
|
-
print "yes/no? [no] " unless @options[:silent]
|
50
|
+
print "yes/no? [no] " unless @options[:silent] || @options[:force]
|
51
51
|
answer = get_answer
|
52
52
|
answer =~ /^y/
|
53
53
|
end
|
data/lib/jack/version.rb
CHANGED