Sha256: 079de62594052422452ff2ff71bbe238111b7d77cef2a6a0b6674d50f3e2667f

Contents?: true

Size: 448 Bytes

Versions: 6

Compression:

Stored size: 448 Bytes

Contents

#!/usr/bin/env ruby
# encoding: utf-8

# Add the lib directory to $LOAD_PATH
lib = File.expand_path(File.dirname(__FILE__) + '/../lib')
$LOAD_PATH.unshift(lib) if File.directory?(lib) && !$LOAD_PATH.include?(lib)

# Require needed files
require 'shepherd'
require 'shepherd/cli'

# We make the --help option the default (if no command passed, show help)
ARGV << '--help' if ARGV.empty? && $stdin.tty?

# Run Shepherd, ruuun!
Shepherd::Cli.new.run!

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
shepherd-0.3.1 bin/shep
shepherd-0.3.0 bin/shep
shepherd-0.2.0 bin/shep
shepherd-0.1.4 bin/shep
shepherd-0.1.3 bin/shep
shepherd-0.1.2 bin/shep