class ToptranslationCli::Info
Public Class Methods
print_help()
click to toggle source
# File lib/toptranslation_cli/info.rb, line 5 def self.print_help print_version puts <<~INFO Usage:\t\ttt [command]\n\n" Commands:' init\t\tCreates example configuration file #{Configuration::FILENAME}" check\tChecks current configuration" push\t\tUploads local documents" pull\t\tPulls remote translations, overwrites local documents" --version\tDisplays current version of application" --help\tDisplays this help screen\n\n" Twitter:\t@tt_developers\n\n" Websites:\thttps://www.toptranslation.com" \t\thttps://developer.toptranslation.com" \t\thttps://github.com/Toptranslation/tt_cli" INFO end
print_version()
click to toggle source
# File lib/toptranslation_cli/info.rb, line 24 def self.print_version puts "Toptranslation command line client, version #{VERSION}" end