civo_cli 0.2.9 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/lib/blueprint.rb +9 -0
- data/lib/civo_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3aa377206e1e8d47adf809be5f376e70be52f80971e3d9c80658daf62e57cb37
|
4
|
+
data.tar.gz: ab5b51dade9d2d7a4821c461226d45557a5982fe802f745cbed14f8a1f0590fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1c4f20f91cc649ae789a141aa1cbb8673a44eb923f2b2a396eeb3687fcb0d41c15278602ebdd970d1ed7a719dc9a30876a74609f7f6f4dbc58cfc3487ee1a097
|
7
|
+
data.tar.gz: 1c7fafb6348485a10b69ed080a7cf3e762fcdb429bf937a1c58b3b06f1d0e4a51070238edb55597cadd0a911de7785c33e3f6b320bc779ebf4c969e42d70a70a
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@ All notable changes to the Civo CLI will be documented in this file.
|
|
3
3
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
5
5
|
|
6
|
+
## [0.3.0] - 2019-07-05
|
7
|
+
### Added
|
8
|
+
- Verbose option to blueprint show
|
9
|
+
|
6
10
|
## [0.2.9] - 2019-07-04
|
7
11
|
### Added
|
8
12
|
- Version command that tells you your current version and checks if you're out of date
|
data/Gemfile.lock
CHANGED
data/lib/blueprint.rb
CHANGED
@@ -17,6 +17,7 @@ module CivoCLI
|
|
17
17
|
end
|
18
18
|
|
19
19
|
desc "show ID", "show the details for a single blueprint"
|
20
|
+
option :verbose, type: :boolean, desc: "Show the converted bash script and last run output", aliases: ["-v"]
|
20
21
|
def show(id)
|
21
22
|
CivoCLI::Config.set_api_auth
|
22
23
|
blueprint = detect_blueprint(id)
|
@@ -30,6 +31,14 @@ module CivoCLI
|
|
30
31
|
puts "-" * 29 + " CONTENT " + "-" * 29
|
31
32
|
puts ""
|
32
33
|
puts blueprint.dsl_content
|
34
|
+
puts ""
|
35
|
+
puts "-" * 29 + " SCRIPT " + "-" * 29
|
36
|
+
puts ""
|
37
|
+
puts blueprint.script_content
|
38
|
+
puts ""
|
39
|
+
puts "-" * 29 + " LAST RAN " + "-" * 29
|
40
|
+
puts ""
|
41
|
+
puts blueprint.last_build_script_output
|
33
42
|
rescue Flexirest::HTTPForbiddenClientException => e
|
34
43
|
puts "Sorry, you don't have access to this feature".colorize(:red)
|
35
44
|
exit 1
|
data/lib/civo_cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo_cli
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2019-07-
|
13
|
+
date: 2019-07-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|