wtf-doc 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wtf/cli/here.rb +7 -3
- data/lib/wtf/version.rb +1 -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: e219579c54499000cdf2fcde89a7294a29526888
|
4
|
+
data.tar.gz: f20108134d05ed1731a5c17b464723a3fead4051
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 07526c3422750a22b0fd6163cbff6d7bc974ab5b9804b6171de938e3ac25d56aeaeda696ed442b0c91734af1d0fad3413217dff2dc6c6409eaafc5164e178868
|
7
|
+
data.tar.gz: 3e1d00d87e03ff78b2d4af461c660f22633f9b14dc59417becb51afd60fea0f75ce9b01e7a1d1192d4d631b7307e6d602b4f7a7543ccd0cc35c8b24752b1da1e
|
data/lib/wtf/cli/here.rb
CHANGED
@@ -4,8 +4,7 @@ module Wtf
|
|
4
4
|
module CLI
|
5
5
|
class Application < Thor
|
6
6
|
|
7
|
-
desc "here",
|
8
|
-
|
7
|
+
desc "here","This will read you the description of this folder"
|
9
8
|
def here
|
10
9
|
puts "DOC ==> " + Wtf::Core.new.content.to_s
|
11
10
|
end
|
@@ -16,7 +15,6 @@ module Wtf
|
|
16
15
|
\n\n Usage:
|
17
16
|
\n\n wtf doc -c 'my documentation'"
|
18
17
|
option :c
|
19
|
-
|
20
18
|
def doc(*args)
|
21
19
|
if options[:c]
|
22
20
|
content = options[:c] + " " + args.join(" ")
|
@@ -28,6 +26,12 @@ module Wtf
|
|
28
26
|
end
|
29
27
|
end
|
30
28
|
|
29
|
+
desc "clean", "This will clean the .wtf file from the current folder"
|
30
|
+
option :clean
|
31
|
+
def clean
|
32
|
+
Wtf::Core.new.clean
|
33
|
+
end
|
34
|
+
|
31
35
|
end
|
32
36
|
end
|
33
37
|
end
|
data/lib/wtf/version.rb
CHANGED