Class: CLI
- Inherits:
-
Thor
- Object
- Thor
- CLI
- Defined in:
- lib/tool-markdown/cli.rb
Overview
Command Line User Interface
Class Method Summary collapse
Instance Method Summary collapse
- #link(dirname) ⇒ Object
- #method_missing(method, *_args, &_block) ⇒ Object
- #respond_to_missing?(_method_name) ⇒ Boolean
- #version ⇒ Object
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(method, *_args, &_block) ⇒ Object
27 28 29 |
# File 'lib/tool-markdown/cli.rb', line 27 def method_missing(method, *_args, &_block) link(method.to_s) end |
Class Method Details
.exit_on_failure? ⇒ Boolean
35 36 37 |
# File 'lib/tool-markdown/cli.rb', line 35 def self.exit_on_failure? true end |