Class: Plans::CLI
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
Override for Thor.
-
.source_root ⇒ Object
Set the source root for Thor::Actions.
Instance Method Summary collapse
- #init ⇒ Object
- #list ⇒ Object
- #new(doc_type) ⇒ Object
- #publish(path = '.') ⇒ Object
- #thumbs(path = '.') ⇒ Object
Class Method Details
.exit_on_failure? ⇒ Boolean
Override for Thor. Have the application exit and return an error code on failure.
19 20 21 |
# File 'lib/plans/cli.rb', line 19 def self.exit_on_failure? true end |
.source_root ⇒ Object
Set the source root for Thor::Actions
13 14 15 |
# File 'lib/plans/cli.rb', line 13 def self.source_root Plans.source_root end |