Class: Langulator::CLI
- Inherits:
-
Thor
- Object
- Thor
- Langulator::CLI
- Defined in:
- lib/langulator/cli.rb
Instance Method Summary collapse
Instance Method Details
#compile ⇒ Object
12 13 14 15 16 17 18 19 20 |
# File 'lib/langulator/cli.rb', line 12 def compile = { :source_language => [:source_language].to_sym, :target_languages => [:target_languages].map(&:to_sym), :base_path => [:base_path], :to => [:file] } Langulator.compile() end |
#decompile ⇒ Object
24 25 26 |
# File 'lib/langulator/cli.rb', line 24 def decompile Langulator.decompile(:from => [:file]) end |