#!/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 'thor' require 'thor/group' require 'pathname' require 'restspec/runners/install/install_runner' require 'restspec/runners/docs/docs_runner' class RestspecCLI < Thor register(Restspec::InstallRunner, 'install', 'install [your_test_folder]', 'Type restspec install for more help.') register(Restspec::DocsRunner, 'docs', 'docs [your_docs_location]', 'Type restspec docs for more help.') end RestspecCLI.start(ARGV)