Class: Ea::Cli::App
- Inherits:
-
Thor
- Object
- Thor
- Ea::Cli::App
- Defined in:
- lib/ea/cli/app.rb
Class Method Summary collapse
Instance Method Summary collapse
- #convert(file) ⇒ Object
- #diagrams(action, file = nil, name = nil) ⇒ Object
- #list(file) ⇒ Object
- #parse(file) ⇒ Object
- #spa(file) ⇒ Object
- #stats(file) ⇒ Object
- #validate(file) ⇒ Object
- #version ⇒ Object
Class Method Details
.exit_on_failure? ⇒ Boolean
9 10 11 |
# File 'lib/ea/cli/app.rb', line 9 def exit_on_failure? true end |
Instance Method Details
#convert(file) ⇒ Object
61 62 63 |
# File 'lib/ea/cli/app.rb', line 61 def convert(file) Command::Convert.new(file: file, **symbolize()).call end |
#diagrams(action, file = nil, name = nil) ⇒ Object
32 33 34 35 36 |
# File 'lib/ea/cli/app.rb', line 32 def diagrams(action, file = nil, name = nil) Command::Diagrams .new(action: action, file: file, name: name, **symbolize()) .call end |
#list(file) ⇒ Object
24 25 26 |
# File 'lib/ea/cli/app.rb', line 24 def list(file) Command::List.new(file: file, **symbolize()).call end |
#parse(file) ⇒ Object
53 54 55 |
# File 'lib/ea/cli/app.rb', line 53 def parse(file) Command::Parse.new(file: file, **symbolize()).call end |
#spa(file) ⇒ Object
70 71 72 |
# File 'lib/ea/cli/app.rb', line 70 def spa(file) Command::Spa.new(file: file, **symbolize()).call end |
#stats(file) ⇒ Object
46 47 48 |
# File 'lib/ea/cli/app.rb', line 46 def stats(file) Command::Stats.new(file: file, **symbolize()).call end |