Class: Mkwebook::Cli
- Inherits:
-
Thor
- Object
- Thor
- Mkwebook::Cli
- Defined in:
- lib/mkwebook/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.main(args) ⇒ Object
6 7 8 |
# File 'lib/mkwebook/cli.rb', line 6 def main(args) start(args) end |
Instance Method Details
#docset ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/mkwebook/cli.rb', line 38 def docset if [:list] Mkwebook::App.new().list_entry_types else Mkwebook::App.new().make_docset end end |
#download ⇒ Object
30 31 32 |
# File 'lib/mkwebook/cli.rb', line 30 def download Mkwebook::App.new().download end |
#download_index ⇒ Object
21 22 23 |
# File 'lib/mkwebook/cli.rb', line 21 def download_index Mkwebook::App.new().download_index(true) end |
#init ⇒ Object
15 16 17 |
# File 'lib/mkwebook/cli.rb', line 15 def init Mkwebook::App.new().create_config end |