oliver 0.1.6.1 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/oliver/methods.rb +4 -6
- data/lib/oliver/version.rb +1 -1
- data/lib/oliver.rb +3 -0
- 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: 1f2b10d4474bc5a10675f60dc5e5357e9c507c5e
|
4
|
+
data.tar.gz: 20b90a68ef728ebb2f735accc5e5198614ac7aaf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 10609551401d01131d413eac242f79e437987f62c275477a3d1103082d2821af3b917f4022b42c1a6bdc042b89f941a12ed64aa916e86214662a6e6403657b4d
|
7
|
+
data.tar.gz: 7b0acd21c37467b5e813290d38d00ebdadea39996578ba98a8632d154838b2d7137724ac5209837834b985c41f9002f8b91f5d459967ad9196513e07e81d235b
|
data/lib/oliver/methods.rb
CHANGED
@@ -3,13 +3,13 @@ def help
|
|
3
3
|
|
4
4
|
helper = [
|
5
5
|
[
|
6
|
-
"
|
7
|
-
"
|
6
|
+
"init",
|
7
|
+
"initializes the main directory by creating a base #{Name::OLIVER}"
|
8
8
|
],
|
9
9
|
|
10
10
|
[
|
11
|
-
"
|
12
|
-
"
|
11
|
+
"install",
|
12
|
+
"clones / removes directories if they're listed on the #{Name::OLIVER}"
|
13
13
|
],
|
14
14
|
|
15
15
|
[
|
@@ -67,7 +67,5 @@ def other_things
|
|
67
67
|
Jib.exit
|
68
68
|
when '-h' || '--help'
|
69
69
|
help
|
70
|
-
else
|
71
|
-
help
|
72
70
|
end
|
73
71
|
end
|
data/lib/oliver/version.rb
CHANGED
data/lib/oliver.rb
CHANGED
@@ -13,6 +13,9 @@ require_relative "oliver/main"
|
|
13
13
|
# just disable it completely
|
14
14
|
Rainbow.enabled = false if ARGV[-1] == 'colour=off'
|
15
15
|
|
16
|
+
# Right off the bat,
|
17
|
+
# if the user doesn't specify even one argument
|
18
|
+
# just give him some help and quit oliver
|
16
19
|
if ARGV[0].nil?
|
17
20
|
help
|
18
21
|
Jib.exit
|