Class: Wtf::CLI::Application
- Inherits:
-
Thor
- Object
- Thor
- Wtf::CLI::Application
- Defined in:
- lib/wtf/cli/application.rb
Instance Method Summary collapse
Instance Method Details
#clean ⇒ Object
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/wtf/cli/application.rb', line 27 def clean if Wtf::Doc.has_documentation? if yes?("Are you sure to cleanup the documentation for this folder?") Wtf::Doc.clean say :cleaned, :green end else say "This directory doesn't have any .wtf file", :yellow end end |