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.48.0 bin/blameline
utils-0.47.0 bin/blameline
utils-0.46.0 bin/blameline
utils-0.45.0 bin/blameline
utils-0.44.0 bin/blameline
utils-0.43.0 bin/blameline
utils-0.42.0 bin/blameline
utils-0.41.0 bin/blameline
utils-0.40.0 bin/blameline
utils-0.39.0 bin/blameline
utils-0.38.0 bin/blameline
utils-0.37.1 bin/blameline
utils-0.37.0 bin/blameline
utils-0.36.0 bin/blameline
utils-0.35.0 bin/blameline
utils-0.34.0 bin/blameline
utils-0.33.1 bin/blameline
utils-0.33.0 bin/blameline
utils-0.32.0 bin/blameline
utils-0.31.1 bin/blameline