Sha256: 0a1a2b86aa9403d45bccfd6aa91537c4da200e3c0102a75a77a0f49d7783f227

Contents?: true

Size: 573 Bytes

Versions: 3

Compression:

Stored size: 573 Bytes

Contents

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

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

require 'brace'

if ['create', '--create'].include? ARGV[0]
  ARGV.shift
  puts "[WARNING] the brace create argument is deprecated. Just use `brace #{ARGV.join}` instead"
end

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

Brace::AppGenerator.start

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brace-0.1.0 bin/brace
brace-0.0.3 bin/brace
brace-0.0.1 bin/brace