Sha256: 6940dc6d95b466c748805e9d2dbd9bbd885a7aa7e6cc71e6d8d4a23b0d2add39

Contents?: true

Size: 307 Bytes

Versions: 6

Compression:

Stored size: 307 Bytes

Contents

#!/usr/bin/env ruby

require 'napa'

actions = ['new']

if actions.include?(ARGV[0])
  if ARGV[0] == 'new'
    if ARGV[1].nil?
      STDOUT.write "Missing App Name, Exiting\n"
    else
      Napa::Generators::Scaffold.new(ARGV[1], ARGV[2])
    end
  end
else
  STDOUT.write "Unknown Action, Exiting.\n"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
napa-0.1.11 bin/napa
napa-0.1.10 bin/napa
napa-0.1.7 bin/napa
napa-0.1.6 bin/napa
napa-0.1.4 bin/napa
napa-0.1.3 bin/napa