Sha256: 080f635321805b08b7d0736aa366ae7a9a75708085b40011d617c6f21e4107f6

Contents?: true

Size: 646 Bytes

Versions: 10

Compression:

Stored size: 646 Bytes

Contents

# Rgentpl
module Rgentpl
  # Command
  #
  # Application command
  module Command
    # Base command
    #
    # General command
    class Base < Thor
      package_name 'Rgentpl'
      map '-v' => :version

      desc 'version, -v', 'Show Ruby Generator Template version.'
      # @return [String] the test message
      def version
        say "Rgentpl version #{Rgentpl::VERSION}", :yellow
      end

      # Add generate group command
      register(Rgentpl::Command::Generate,
               'generate',
               'generate APP_NAME [-p|--app_path APP_PATH] [-t|--ctags CTAGS]',
               'Generate application')
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rgentpl-1.2.6 lib/rgentpl/command/base.rb
rgentpl-1.2.5 lib/rgentpl/command/base.rb
rgentpl-1.2.4.3 lib/rgentpl/command/base.rb
rgentpl-1.2.4.2 lib/rgentpl/command/base.rb
rgentpl-1.2.4.1 lib/rgentpl/command/base.rb
rgentpl-1.2.4 lib/rgentpl/command/base.rb
rgentpl-1.2.3 lib/rgentpl/command/base.rb
rgentpl-1.2.2 lib/rgentpl/command/base.rb
rgentpl-1.2.1 lib/rgentpl/command/base.rb
rgentpl-1.2.0 lib/rgentpl/command/base.rb