Class: Scene7ize::CLI
- Inherits:
-
Thor
- Object
- Thor
- Scene7ize::CLI
- Defined in:
- lib/scene7ize/cli.rb
Overview
Facade for Scene7ize command line interface managed by [Thor](github.com/wycats/thor). This is the main interface to Scene7ize that is called by the Scene7ize binary bin/scene7ize. Do not put any logic in here, create a class and delegate instead.
Instance Method Summary collapse
- #parse ⇒ Object
-
#version ⇒ Object
Shows the current version of Scene7ize.
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(meth, *args) ⇒ Object (private)
50 51 52 |
# File 'lib/scene7ize/cli.rb', line 50 def method_missing(meth, *args) help end |
Instance Method Details
#parse ⇒ Object
30 31 32 33 34 |
# File 'lib/scene7ize/cli.rb', line 30 def parse Scene7ize.parse_file([:url_prefix], [:input_file], [:output_file]) end |