Sha256: c41c904182819819685fd7cf77b9f6ec4ac7785975e4cdadae0c703b9c229c43

Contents?: true

Size: 615 Bytes

Versions: 5

Compression:

Stored size: 615 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'pathname'

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

require 'cybele'

if ARGV.empty?
  puts 'Please provide a path for the new application'
  puts
  puts 'See --help for more info'
  exit 0
elsif %w[-v --version].include? ARGV[0]
  puts Cybele::VERSION
  exit 0
end

root = File.expand_path(File.join('..', 'templates'), File.dirname(__FILE__))
Cybele::AppGenerator.source_root root
Cybele::AppGenerator.source_paths << Rails::Generators::AppGenerator.source_root << root
Cybele::AppGenerator.start

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cybele-2.3.2 bin/cybele
cybele-2.3.1 bin/cybele
cybele-2.2.0 bin/cybele
cybele-2.1.0 bin/cybele
cybele-2.0.0 bin/cybele