Sha256: 882d87ba1f8d1fa1d8b182bd7c8009518c463c03918abcfbf1462e0de0384132

Contents?: true

Size: 334 Bytes

Versions: 56

Compression:

Stored size: 334 Bytes

Contents

#!/usr/bin/env ruby

require 'tins/go'
include Tins::GO
require 'utils'
require 'term/ansicolor'

$opts = go 'sh'

if $opts[?h]
  puts <<USAGE
#{File.basename($0)} [OPTIONS] [LINES|FILES]
USAGE
  exit
end

if $opts[?s]
  lines = ARGF
else
  lines = ARGV
end

for line in lines
  Utils::LineBlamer.blame(line).full? { |l| puts l }
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
utils-0.21.0 bin/blameline
utils-0.20.0 bin/blameline
utils-0.19.0 bin/blameline
utils-0.18.1 bin/blameline
utils-0.18.0 bin/blameline
utils-0.17.0 bin/blameline
utils-0.16.0 bin/blameline
utils-0.15.1 bin/blameline
utils-0.15.0 bin/blameline
utils-0.14.0 bin/blameline
utils-0.13.0 bin/blameline
utils-0.12.0 bin/blameline
utils-0.11.0 bin/blameline
utils-0.10.1 bin/blameline
utils-0.10.0 bin/blameline
utils-0.9.0 bin/blameline