Sha256: 502e5f63072923f7d698c1fcfb60972db576ad19a93239094f5136d436172784

Contents?: true

Size: 582 Bytes

Versions: 3

Compression:

Stored size: 582 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>

  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

3 entries across 3 versions & 1 rubygems

Version Path
phrase-0.3.2 lib/phrase/tool/commands/show_help.rb
phrase-0.3.1 lib/phrase/tool/commands/show_help.rb
phrase-0.3.0 lib/phrase/tool/commands/show_help.rb