Sha256: 1ccd21ffc222df2b978daaeb1ba0ef08b904952c96861ea325511801c02a69d1

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

#!/usr/bin/env ruby

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

case ARGV.first
when 'new'
  ARGV.shift
  require 'generators/pakyow/app/app_generator'
  Pakyow::Generators::AppGenerator.start
when 'server', 's'
  ARGV.shift
  require File.join(CORE_PATH, 'commands/server')
when 'console', 'c'
  ARGV.shift
  require File.join(CORE_PATH, 'commands/console')
when '--help', '-h', nil
  puts File.open(File.join(CORE_PATH, 'commands/USAGE')).read
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pakyow-core-0.8rc1 pakyow-core/bin/pakyow