Sha256: 6b4191e6a6831fc905d69988cd2be0f1fc7f3c6ee12df468961b1f8e603b043d

Contents?: true

Size: 495 Bytes

Versions: 5

Compression:

Stored size: 495 Bytes

Contents

#!/usr/bin/env ruby
require 'pathname'

source_path = (Pathname.new(__FILE__).dirname + '../lib').expand_path
$LOAD_PATH << source_path

require 'kratos'

if ['-v', '--version'].include? ARGV[0]
  puts Kratos::VERSION
  exit 0
end

templates_root = File.expand_path(File.join('..', 'templates'), File.dirname(__FILE__))
Kratos::AppGenerator.source_root templates_root
Kratos::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << templates_root

Kratos::AppGenerator.start

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kratos-1.1.0 bin/kratos
kratos-1.0.3 bin/kratos
kratos-1.0.2 bin/kratos
kratos-1.0.1 bin/kratos
kratos-1.0.0 bin/kratos