Sha256: 68fd8f639878625bba99fc924f0dbbcdef84941a81658f1af83d1a6de903d4b3

Contents?: true

Size: 192 Bytes

Versions: 5

Compression:

Stored size: 192 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require 'script_detector_2'

input =
  if ARGV.empty?
    ARGF.read
  else
    ARGV.join
  end

puts(ScriptDetector2.identify_script(input))

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
script_detector_2-0.4.0 bin/detect
script_detector_2-0.3.0 bin/detect
script_detector_2-0.2.0 bin/detect
script_detector_2-0.1.1 bin/detect
script_detector_2-0.1.0 bin/detect