class Localedata::Cli

Public Instance Methods

install(project_id=nil) click to toggle source
# File lib/localedata/cli.rb, line 6
def install(project_id=nil)
  installer = Localedata::Installer.new
  installer.install(project_id)
end
pull(*locales) click to toggle source
# File lib/localedata/cli.rb, line 12
def pull(*locales)
  downloader = Localedata::Downloader.new
  downloader.download(locales)
end
version() click to toggle source
# File lib/localedata/cli.rb, line 18
def version
  puts "Localedata #{Localedata::VERSION}"
end