Sha256: 8184ab801db6a2aca8c1d4bb1b296e86cda4230edb48e9587add59606b9f1978

Contents?: true

Size: 621 Bytes

Versions: 4

Compression:

Stored size: 621 Bytes

Contents

require_relative 'command_base'

class I18nFlow::CLI
  class HelpCommand < CommandBase
    TEXT = <<-HELP
Manage translation status in yaml file

Usage:
    i18n_flow COMMAND [args...]
    i18n_flow [options]

Options:
    -v, --version    Show version
    -h               Show help

Commands:
    lint       Validate files
    format     Format and correct errors
    search     Search contents and keys
    copy       Copy translations and mark as todo
    split      Split a file into proper-sized files
    version    Show version
    help       Show help
    HELP

    def invoke!
      puts TEXT
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
i18n_flow-0.2.3 lib/i18n_flow/cli/help_command.rb
i18n_flow-0.2.2 lib/i18n_flow/cli/help_command.rb
i18n_flow-0.2.1 lib/i18n_flow/cli/help_command.rb
i18n_flow-0.2.0 lib/i18n_flow/cli/help_command.rb