vcli 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vcli/cli.rb +6 -0
- data/lib/vcli/version.rb +10 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 03962123c9937bf6343ac4cf1d17910a8b47b2b9
|
4
|
+
data.tar.gz: afac6cb5141e53c1ee125d858a112c53f57b89a3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|