Sha256: 18e9c37ade20f3afd3d5af5852644999afa098a8120507ca2b1f0dd255ed8a75
Contents?: true
Size: 363 Bytes
Versions: 2
Compression:
Stored size: 363 Bytes
Contents
#!/usr/bin/env ruby require "rails_finder" def print_help puts <<END Finds Rails applications in the given directory and report their version numbers. If no directory is given, uses the current. END puts "\n\tusage: find_rails [directory]" end if ARGV.any? { |a| a == "-h" || a == "--help" } print_help exit end RailsFinder.run(ARGV.first || Dir.pwd)
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rails_finder-0.0.3 | bin/find_rails |
rails_finder-0.0.2 | bin/find_rails |