Sha256: b9b957fea6915b20b67b8df2a47c577d55ca5622d9f3b7f438598ccd503f034e

Contents?: true

Size: 444 Bytes

Versions: 2

Compression:

Stored size: 444 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 'pointme'
require 'pointme/cli'

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

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pointme-1.0.1 bin/pointme
pointme-1.0.0 bin/pointme