civo_cli 0.2.9 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e9a8f2d8231933d229f7835664d1aa3acfbb98a6db901b853e9f657cc12ce8f7
4
- data.tar.gz: ffbc9a26597e1b0460d1d1f10da71fa63d7917eb6f77123e24ac761c1eafd09d
3
+ metadata.gz: 3aa377206e1e8d47adf809be5f376e70be52f80971e3d9c80658daf62e57cb37
4
+ data.tar.gz: ab5b51dade9d2d7a4821c461226d45557a5982fe802f745cbed14f8a1f0590fd
5
5
  SHA512:
6
- metadata.gz: d1a8f75ad27e21a28840675e75e5a6c56a2dc2956ccdb49372dceb6f152a7405b64161b6d5b5f4fa0c25b7c412b22d51ab269cf2e24e4ff12f9431aac3cb5ee3
7
- data.tar.gz: 82b951dc8354fda86153b60cdf9d4a448e920b184135b353e5bb6d87df99d17ff73fda32c7df246decdd5629aad2676227fdebc0bd8ee044904da69a1be47b51
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
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- civo_cli (0.2.9)
4
+ civo_cli (0.3.0)
5
5
  civo (>= 1.2.1)
6
6
  colorize
7
7
  json
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
@@ -1,3 +1,3 @@
1
1
  module CivoCLI
2
- VERSION = "0.2.9"
2
+ VERSION = "0.3.0"
3
3
  end
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.2.9
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-04 00:00:00.000000000 Z
13
+ date: 2019-07-05 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler