class Applocale::Command::Init
Public Instance Methods
compare(file1, file2)
click to toggle source
# File lib/applocale/Command/init.rb, line 65 def compare(file1, file2) Applocale::compare(file1, file2) end
compare_local(file1, file2)
click to toggle source
# File lib/applocale/Command/init.rb, line 72 def compare_local(file1, file2) Applocale::compare_local(file1, file2, options[:path], options[:result_file]) end
findkey(key)
click to toggle source
# File lib/applocale/Command/init.rb, line 58 def findkey(key) Applocale::findkey(key, options[:path], options[:config_file]) end
init(platform = nil)
click to toggle source
# File lib/applocale/Command/init.rb, line 18 def init(platform = nil) Applocale.create_config_file(platform, options[:path], options[:config_file]) end
reverse()
click to toggle source
# File lib/applocale/Command/init.rb, line 40 def reverse() is_skip = !options[:skip].nil? Applocale::start_reverse(is_skip, options[:path],options[:config_file]) end
update()
click to toggle source
# File lib/applocale/Command/init.rb, line 25 def update() Applocale.start_update(options[:path],options[:config_file]) end
update_local()
click to toggle source
# File lib/applocale/Command/init.rb, line 32 def update_local() Applocale.start_local_update(nil,options[:path], options[:config_file]) end
version()
click to toggle source
# File lib/applocale/Command/init.rb, line 46 def version() puts Applocale::VERSION end