Sha256: 054fa00952dd87775db88210db274dcf12b1d2e99efe56ffa545b38514ba5f4b

Contents?: true

Size: 461 Bytes

Versions: 9

Compression:

Stored size: 461 Bytes

Contents

# <%= app_name.camelize %>
module <%= app_name.camelize %>
  # Command
  #
  # Application command
  module Command
    # Base command
    #
    # General command
    class Base < Thor
      map '-v' => :version

      desc 'version, -v', 'Show <%= app_name.camelize %> version.'
      # @return [String] the test message
      def version
        say "<%= app_name.camelize %> version #{<%= app_name.camelize %>::VERSION}", :yellow
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rgentpl-1.0.9 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.8 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.7 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.6 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.5 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.4 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.3 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.2 src/lib/%app_name%/command/base.rb.tt
rgentpl-1.0.1 src/lib/%app_name%/command/base.rb.tt