Class: Techbook::CLI
- Inherits:
-
Thor
- Object
- Thor
- Techbook::CLI
- Defined in:
- lib/techbook/cli.rb
Instance Method Summary collapse
Instance Method Details
#build ⇒ Object
20 21 22 23 24 25 26 27 28 |
# File 'lib/techbook/cli.rb', line 20 def build Builder.run pdf: [:pdf], mobi: [:mobi], epub: [:epub], html: [:html], docbook: [:docbook], output: [:output], watch: [:watch] end |
#generate(name) ⇒ Object
9 10 11 |
# File 'lib/techbook/cli.rb', line 9 def generate(name) Generator::run name, output: [:output] end |