Sha256: a3d2e9d32d8215115dea2d84da8cf1e6b8bd761e6063edcce659b6385472f667
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 Bytes
Contents
require 'clamp' require 'xcbootstrap/bootstrap' module XCBootstrap class Cli < Clamp::Command option ["-t", "--template"], "T", "name of the template to use", :required => true option ["-p", "--project"], "P", "relative path to the desired project to create", :required => true def execute template_root = File.expand_path(File.join(File.dirname(__FILE__), "../../templates")) bootstrapper = XCBootstrap::Bootstrap.new(template_root, template, project) bootstrapper.process bootstrapper.finish end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
xcbootstrap-0.0.3 | lib/xcbootstrap/cli.rb |
xcbootstrap-0.0.2 | lib/xcbootstrap/cli.rb |
xcbootstrap-0.0.1 | lib/xcbootstrap/cli.rb |