genesis_cli 0.0.1 → 0.0.2
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.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/Thorfile +0 -8
- data/lib/genesis/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: a9c1429984411b84f2498fbb3ac36de9e57888c9
|
4
|
+
data.tar.gz: 9779c47c764e2d24abd697dbafbd267ecc00b1bd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 347066860ab058d08414ba6a40f0edc5ac63ec10b332f75c4189f3ea65dd2a25b6d164fb9ce22d6a56e6a835a0408542cffcbb286159309717f941dce63e87a9
|
7
|
+
data.tar.gz: 098a508c63fcef7f925d6b0b9198eda06e11d156e11c5bf82d3e1dd6b85a70629e3ee0d694777aeb0bae7be7bb8a703bddb1a8eb7c2a458df5e6dbca07c09de0
|
data/README.md
CHANGED
@@ -8,10 +8,22 @@ Goals:
|
|
8
8
|
2. Each command should protect against accidental non-automated actions that impact infrastructure.
|
9
9
|
3. Don't do anything other than wrap the Terraform CLI
|
10
10
|
|
11
|
+
This code base will be greatly simplified once Terraform allows for environment variable interpolation in ```tfvars``` files.
|
12
|
+
|
11
13
|
#### Installation
|
12
14
|
```gem install genesis```
|
13
15
|
|
14
16
|
#### Commands
|
17
|
+
- genesis apply # Apply infrastructure changes to match plan
|
18
|
+
- genesis destroy # Destroy infrastructure Terraform knows about
|
19
|
+
- genesis help [COMMAND] # Describe available commands or one specific command
|
20
|
+
- genesis plan # Output an execution plan
|
21
|
+
- genesis refresh # Reconcile state with the real-world infrastructure
|
22
|
+
- genesis show # Output contents of the state file
|
23
|
+
|
24
|
+
#### Options
|
25
|
+
- [--prompt], [--no-prompt] # Prompt before executing dangerous commands (Default: true)
|
26
|
+
|
15
27
|
|
16
28
|
#### License
|
17
29
|
[MIT](LICENSE.txt)
|
data/Thorfile
CHANGED
@@ -29,17 +29,9 @@ class Default < Thor
|
|
29
29
|
exit(!success) unless success
|
30
30
|
end
|
31
31
|
|
32
|
-
desc 'spec', 'Run tests.'
|
33
|
-
def spec
|
34
|
-
say 'Running all rspec tests...', :white
|
35
|
-
success = system 'rspec spec'
|
36
|
-
exit(!success) unless success
|
37
|
-
end
|
38
|
-
|
39
32
|
desc 'check', 'Lint, style, and test.'
|
40
33
|
def check
|
41
34
|
invoke :rubocop
|
42
|
-
# invoke :spec
|
43
35
|
end
|
44
36
|
|
45
37
|
def initialize(*args)
|
data/lib/genesis/version.rb
CHANGED