frenesim/schema_to_scaffold

View on GitHub
bin/scaffold

Summary

Maintainability
Test Coverage
#!/usr/bin/env ruby
# encoding: UTF-8

# resolve bin path, ignoring symlinks
require "pathname"
bin_file = Pathname.new(__FILE__).realpath
# add self to libpath
$:.unshift File.expand_path("../../lib", bin_file)

require 'schema_to_scaffold/cli'

SchemaToScaffold::CLI.start(*ARGV)