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.
- data/lib/cfcm/cli.rb +6 -0
- data/lib/cfcm/version.rb +1 -1
- metadata +1 -1
data/lib/cfcm/cli.rb
CHANGED
@@ -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)"
|
data/lib/cfcm/version.rb
CHANGED