cloudspin-stack 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloudspin/cli.rb +7 -3
- data/lib/cloudspin/stack/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: 0c99dae60e8a47326028b008d91b9da077ea0859
|
4
|
+
data.tar.gz: 6f57facf4f429c9544a5ab86a330bcc27e5112b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a296b870b6f2a0dc28229568689c2600836dc1c522b2768b9ac1c3758924e12fde8cc89ffbbbcaea25fdc991ef75ef7e8b687a05d4171ed5843c91cf8d43063
|
7
|
+
data.tar.gz: 1ddcc1e10f512e408ca6746bb399cfd2bec8606895ddbb10bbc10223f7a2ece75c6c7aecb1bdaba51cfe40536a0b542ae11ebb09e4904cec6ebbbdb2ba02b766
|
data/lib/cloudspin/cli.rb
CHANGED
@@ -4,21 +4,25 @@ require 'cloudspin/stack'
|
|
4
4
|
module Cloudspin
|
5
5
|
class CLI < Thor
|
6
6
|
|
7
|
+
class_option :file
|
8
|
+
|
7
9
|
desc 'plan', 'Print the changes that will by applied when the \'stack up\' command is run'
|
8
10
|
def plan
|
11
|
+
puts "Get configuration from #{options[:file]}" if options[:file]
|
9
12
|
instance.plan
|
10
13
|
end
|
11
14
|
|
12
15
|
no_commands do
|
16
|
+
|
13
17
|
def instance
|
14
18
|
Cloudspin::Stack::Instance.new(
|
15
19
|
stack_definition: stack_definition,
|
16
20
|
backend_config: {},
|
17
21
|
working_folder: working_folder,
|
18
|
-
statefile_folder: statefile_folder
|
19
|
-
parameter_values: parameter_values,
|
20
|
-
resource_values: resource_values
|
22
|
+
statefile_folder: statefile_folder
|
21
23
|
)
|
24
|
+
# parameter_values: parameter_values
|
25
|
+
# resource_values: resource_values
|
22
26
|
end
|
23
27
|
|
24
28
|
def stack_definition
|