Sha256: f4db0d5c59d248348e64104f8ff66ea2079cdc28e1cf2a08b56b9fea855b569d

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

#!/usr/bin/env ruby

CORE_PATH = File.expand_path('../../lib', __FILE__)

if ARGV.first == 'new'
  ARGV.shift
  require 'generators/pakyow/app/app_generator'
  Pakyow::Generators::AppGenerator.start
elsif ARGV.first == 'server'
  ARGV.shift
  require 'commands/server'
elsif ARGV.first == '--help' || ARGV.first == '-h' || ARGV.empty?
  puts File.open(File.join(CORE_PATH, 'commands/USAGE')).read
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pakyow-core-0.6.3.1 pakyow-core/bin/pakyow
pakyow-core-0.6.1 pakyow-core/bin/pakyow