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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8357a0bf52f36c1655cbdefcfa8eebadda34cb89
4
- data.tar.gz: 64d8550ceec41e1650a559566ff9801232564b69
3
+ metadata.gz: e219579c54499000cdf2fcde89a7294a29526888
4
+ data.tar.gz: f20108134d05ed1731a5c17b464723a3fead4051
5
5
  SHA512:
6
- metadata.gz: d8f1f898cea86ebcb4c4410acb5cdc52323f2257f8fcd4e84c9278dbb6a1eaf255c3c38faca1630bdc74ac773cdb7d9847235e3c6c58afaae0c1bc0dfd2c2aca
7
- data.tar.gz: 1dfd7beaedec77aa76a1594d309d226f3b07e725fa031e969ac9b7ecfe6df1ada38fa83042c89d9bf89873055039d86e0bafd26092f465b88f2d57fadf9d49b2
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", "This will read you the description of this folder"
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
@@ -1,3 +1,3 @@
1
1
  module Wtf
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wtf-doc
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lorenzo Sinisi