vcli 0.1.8 → 0.1.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/vcli/cli.rb +6 -0
  3. data/lib/vcli/version.rb +10 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 777c5805f03b65b99a01a62a9f87ea2464cdc97b
4
- data.tar.gz: 90aac2b9a899849c3929af7a2002ceab32e0a562
3
+ metadata.gz: 03962123c9937bf6343ac4cf1d17910a8b47b2b9
4
+ data.tar.gz: afac6cb5141e53c1ee125d858a112c53f57b89a3
5
5
  SHA512:
6
- metadata.gz: d4148d7a11dc720b0bcbc73ac3afa900b3d783a7b7917b2843af1e4635ab402ded5d65b77026e3734050ce018403f94530cb36a18f8e8bbd90f580abc686d9bc
7
- data.tar.gz: 2fc681186b3e12df579e2ac9f51fe294d6055873323bdf29117133facf9ceaae0aea424bf0de26db412f883fd9b957d405e68ea0490821e9968c4eb64ea871b1
6
+ metadata.gz: 4018828bc466790dc2eaf25d497f407d83862b02968da68afd24b693c9fb5ff7b2228d3fc37ea970c68f7ee9d921f39d603454f53c1bae3ae6bf206ea758f3c1
7
+ data.tar.gz: 5535f8704017af2283530f38bb253be866644109b780e6ab0b49abd05b892de21873b599df1f41bbe423b3be8e422c55ec7cbbdcf8cc6275b6397be4d4885fa1
data/lib/vcli/cli.rb CHANGED
@@ -6,6 +6,12 @@ include Vcli
6
6
 
7
7
  module Vcli
8
8
  class Cli < Thor
9
+ desc "version", "Show the current version"
10
+ def version()
11
+ command = "Version #{VERSION}"
12
+ puts command
13
+ end
14
+
9
15
  desc "target URL", "Set the target of the CLI to URL"
10
16
  def target(url)
11
17
  Vcli.set_config("target",url)
data/lib/vcli/version.rb CHANGED
@@ -1,3 +1,12 @@
1
1
  module Vcli
2
- VERSION = "0.1.8"
2
+ #################################################################
3
+ # Version File
4
+ # Jay Fearn
5
+ #################################################################
6
+ # Version # Date # What
7
+ #################################################################
8
+ # 0.19 #20072015# Added virtual machine functionality
9
+ #################################################################
10
+
11
+ VERSION = "0.1.9"
3
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jay Fearn