cfcm 0.0.4 → 0.0.5

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.
Files changed (3) hide show
  1. data/lib/cfcm/cli.rb +6 -0
  2. data/lib/cfcm/version.rb +1 -1
  3. metadata +1 -1
@@ -5,6 +5,12 @@ module CFCM
5
5
  module CLI
6
6
  class Command < Thor
7
7
 
8
+ desc "version", "Get version info"
9
+ def version
10
+ require 'cfcm/version'
11
+ puts CFCM::VERSION
12
+ end
13
+
8
14
  desc "soft USERNAME PASSWORD APP", "Removes/Adds instances via VMC APIs"
9
15
  method_option :target, :aliases => ["--target", "-t"], :type => :string, :desc => "Cloud Foundry API Target URL (Default: http://api.cloudfoundry.com)"
10
16
  method_option :min, :alias => ["--min"], :type => :numeric, :desc => "Minimum number of instances (Default: 1)"
@@ -1,3 +1,3 @@
1
1
  module CFCM
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cfcm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: