Sha256: 26415706687c9005a6d83a54561760816f15d3dfb19742bbb2a523fb710f6dcc

Contents?: true

Size: 586 Bytes

Versions: 2

Compression:

Stored size: 586 Bytes

Contents

#!/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)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
restspec-0.2 bin/restspec
restspec-0.1 bin/restspec