Sha256: 18f976ec926719942acd7931b3ee46c4bcb32ac85a43e52f981857926304f2f3

Contents?: true

Size: 331 Bytes

Versions: 15

Compression:

Stored size: 331 Bytes

Contents

description = "Get help on an Archetype action"
if @description.nil?
  # do stuff...
  @help = true

  if not ARGV[1].nil? and ARGV[1] != 'help'
    action = File.join(@actions_path, ARGV[1])
    begin
      load "#{action}.rb"
    rescue
      puts "unknown action: #{ARGV[1]}"
    end
  end
else
  @description = description
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
archetype-1.0.0.alpha.5 lib/archetype/actions/help.rb
archetype-1.0.0.alpha.4 lib/archetype/actions/help.rb
archetype-1.0.0.alpha.3 lib/archetype/actions/help.rb
archetype-0.0.1.pre.13 lib/archetype/actions/help.rb
archetype-0.0.1.pre.10 lib/archetype/actions/help.rb
archetype-0.0.1.pre.9 lib/archetype/actions/help.rb
archetype-0.0.1.pre.8 lib/archetype/actions/help.rb
archetype-0.0.1.pre.7 lib/archetype/actions/help.rb
archetype-0.0.1.pre.6 lib/archetype/actions/help.rb
archetype-0.0.1.pre.5 lib/archetype/actions/help.rb
archetype-0.0.1.pre.4 lib/archetype/actions/help.rb
archetype-1.0.0.alpha.2 lib/archetype/actions/help.rb
archetype-1.0.0.alpha.1 lib/archetype/actions/help.rb
archetype-0.0.1.pre.3.90263a7 lib/archetype/actions/help.rb
archetype-0.0.1.pre.3.6ed259b lib/archetype/actions/help.rb