Sha256: 53c3e11a0d2b636329146b59ebf1e579c64b02468684d2aae27cc8fb7ebdacb5

Contents?: true

Size: 678 Bytes

Versions: 11

Compression:

Stored size: 678 Bytes

Contents

# -*- encoding : utf-8 -*-

class Phrase::Tool::Commands::ShowHelp < Phrase::Tool::Commands::Base
  def initialize(options, args)
    super(options, args)
  end
  
  def execute!
    show_help
  end
  
private
  
  def show_help
    print_message <<USAGE
usage: phrase <command> [<args>]

  phrase init --secret=<YOUR SECRET> --default-locale=<DEFAULT LOCALE, e.g. en> --format=<FORMAT, e.g. yml> --target-directory=<TARGET, default is ./phrase/locales/>

  phrase push FILE [--tags=<tags>] [--locale=<locale>]
  phrase push DIRECTORY [--tags=<tags>] [--locale=<locale>]

  phrase pull [LOCALE] [--target=<target-folder>] [--format=<format>]

  phrase --version
USAGE
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
phrase-0.4.5 lib/phrase/tool/commands/show_help.rb
phrase-0.4.4 lib/phrase/tool/commands/show_help.rb
phrase-0.4.3 lib/phrase/tool/commands/show_help.rb
phrase-0.4.2 lib/phrase/tool/commands/show_help.rb
phrase-0.4.1 lib/phrase/tool/commands/show_help.rb
phrase-0.4.0 lib/phrase/tool/commands/show_help.rb
phrase-0.3.7 lib/phrase/tool/commands/show_help.rb
phrase-0.3.6 lib/phrase/tool/commands/show_help.rb
phrase-0.3.5 lib/phrase/tool/commands/show_help.rb
phrase-0.3.4 lib/phrase/tool/commands/show_help.rb
phrase-0.3.3 lib/phrase/tool/commands/show_help.rb