Class: ZhSieve::CLI
- Inherits:
-
Thor
- Object
- Thor
- ZhSieve::CLI
- Defined in:
- lib/zhSieve/cli.rb
Instance Method Summary collapse
Instance Method Details
#answer ⇒ Object
14 15 16 |
# File 'lib/zhSieve/cli.rb', line 14 def answer puts ZhSieve.crawl_answer(question_id:[:q],answer_id:[:a]) end |
#article ⇒ Object
20 21 22 |
# File 'lib/zhSieve/cli.rb', line 20 def article puts ZhSieve.crawl_zl_article(article_id:[:z]) end |