Sha256: cce36cbdd700dccf4eba0525763ba6358a272c3f71fcf291d6fbd7dc42a7892c

Contents?: true

Size: 365 Bytes

Versions: 4

Compression:

Stored size: 365 Bytes

Contents

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

$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
$ACKR_PATH = File.expand_path(File.dirname(__FILE__)) + '/..'

require 'ackr'

if ARGV[0].nil?
  puts "ackr version " + File.read('VERSION').strip
  puts "
  usage:

  ackr search_string

  ...OR...

  ackr /regex/
  "
else
  Ackr::Search.new(ARGV[0].dup).run
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ackr-0.2.4 bin/ackr
ackr-0.2.3 bin/ackr
ackr-0.2.2 bin/ackr
ackr-0.2 bin/ackr