Sha256: e3e5f82857eb1d237447766eed2b67731fffb6c4c821872c16d5e0f220767724

Contents?: true

Size: 403 Bytes

Versions: 2

Compression:

Stored size: 403 Bytes

Contents

require 'thor'

module Jdt

  class CLI < Thor
    include Thor::Actions

    desc "status", "displays information about Joomla! extension in current directory"
    method_options :location => "."

    def status

      handle_errors do
        manifest = Manifest.find(options[:location])
        say("Extension #{manifest.prefixed_name_with_version}")
      end
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
jdt-0.0.3 lib/jdt/commands/status.rb
jdt-0.0.2 lib/jdt/commands/status.rb