Class: RTFDoc::CLI
- Inherits:
-
Thor
- Object
- Thor
- RTFDoc::CLI
- Includes:
- Thor::Actions
- Defined in:
- lib/rtfdoc/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
8 9 10 |
# File 'lib/rtfdoc/cli.rb', line 8 def self.exit_on_failure? true end |
Instance Method Details
#convert ⇒ Object
16 17 18 |
# File 'lib/rtfdoc/cli.rb', line 16 def convert ::RTFDoc::Generator.new([:config]).run end |
#install ⇒ Object
23 24 25 |
# File 'lib/rtfdoc/cli.rb', line 23 def install directory 'src', 'src', exclude_pattern: /\.erb\Z/ end |