Sha256: 53d0b805e8bcd448d2eaa4e7657caf746c69de77097f6ea55666cfa1fded2548

Contents?: true

Size: 306 Bytes

Versions: 3

Compression:

Stored size: 306 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

3 entries across 3 versions & 1 rubygems

Version Path
napa-0.1.2 bin/napa
napa-0.1.1 bin/napa
napa-0.1.0 bin/napa