Class: Icapps::Translations::CLI
- Inherits:
-
Thor
- Object
- Thor
- Icapps::Translations::CLI
- Defined in:
- lib/icapps/translations/cli.rb
Instance Method Summary collapse
Instance Method Details
#import ⇒ Object
34 35 36 37 38 |
# File 'lib/icapps/translations/cli.rb', line 34 def import puts "[VERBOSE] Running the 'translations import command'.".colorize(:white) if [:verbose] ::Icapps::Translations. = ::Icapps::Translations.import end |
#init ⇒ Object
21 22 23 24 25 |
# File 'lib/icapps/translations/cli.rb', line 21 def init puts "[VERBOSE] Running the 'translations init command'.".colorize(:white) if [:verbose] ::Icapps::Translations. = ::Icapps::Translations::Configuration.create end |