#!/usr/bin/env ruby lib = File.expand_path(File.dirname(__FILE__) + '/../lib') $LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib) require 'rubygems' require 'thor' require 'thor/group' require 'doc_smoosher' module CLI class Root < Thor register DocSmoosher::Generators::Api, 'new', 'new ', 'Makes an new API scaffold folder structure ready for editing' register DocSmoosher::Generators::Builder, 'generate', 'generate', 'Generate stuff based on your API definition ' end end CLI::Root.start