#!/usr/bin/env ruby require 'rubygems' require 'dextery' require 'commander/import' program :name, 'dextery' program :version, '0.0.4a' program :description, 'Blog engine based on Jekyll Bootstrap' default_command :help command :new do |c| c.syntax = 'dextery new [DIR]' c.description = 'Creates a new Dextery site under the project name' c.option '--force', 'Force creation even if PATH already exists' c.action do |args, options| Dextery::Generator.manifest(args, options.__hash__) end end