Sha256: 054683d071822416a4b5eeed8573a12855096950ba557f7d2d1a881c8de38b18
Contents?: true
Size: 373 Bytes
Versions: 21
Compression:
Stored size: 373 Bytes
Contents
require 'middleman-core/cli' module Middleman::Cli class Init < Thor def init(name='.') key = :sculptor unless ::Middleman::Templates.registered.key?(key) raise Thor::Error, "Unknown project template '#{key}'" end thor_group = ::Middleman::Templates.registered[key] thor_group.new([name], options).invoke_all end end end
Version data entries
21 entries across 21 versions & 1 rubygems