Class: MainCommand
- Inherits:
-
Thor
- Object
- Thor
- MainCommand
- Defined in:
- lib/vtt2ass.rb
Overview
This is the main command line Class that manages the provided CLI arguments.
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
11 12 13 |
# File 'lib/vtt2ass.rb', line 11 def self.exit_on_failure? true end |
Instance Method Details
#convert(input) ⇒ Object
66 67 68 69 |
# File 'lib/vtt2ass.rb', line 66 def convert(input) app = Application.new(input, ) app.start end |