Class: Ottogen::Otto
- Inherits:
-
Thor
- Object
- Thor
- Ottogen::Otto
- Defined in:
- lib/ottogen/otto.rb
Instance Method Summary collapse
- #build ⇒ Object
- #clean ⇒ Object
- #doctor ⇒ Object
- #generate(page) ⇒ Object
- #init(dir = nil) ⇒ Object
- #post(title) ⇒ Object
- #serve ⇒ Object
- #watch ⇒ Object
Instance Method Details
#build ⇒ Object
15 16 17 |
# File 'lib/ottogen/otto.rb', line 15 def build Ottogen.build(drafts: [:drafts]) end |
#generate(page) ⇒ Object
22 23 24 |
# File 'lib/ottogen/otto.rb', line 22 def generate(page) Ottogen.generate(page) end |
#init(dir = nil) ⇒ Object
9 10 11 |
# File 'lib/ottogen/otto.rb', line 9 def init(dir = nil) Ottogen.init(dir) end |