Sha256: 1d6665df280f8a65012570fbc171f652862978da7f5c516e37ad0ae63bcc3cde
Contents?: true
Size: 497 Bytes
Versions: 8
Compression:
Stored size: 497 Bytes
Contents
#!/usr/bin/env ruby require '#{package_name}' if ARGV.delete('-h') or ARGV.delete('--help') system 'man', '-M', File.join(#{library_name}::INSTDIR, 'man'), '#{package_name}' or warn "Could not display the help manual.\\nSee \#{#{library_name}::WEBSITE} instead." exit elsif ARGV.delete('-v') or ARGV.delete('--version') puts #{library_name}::VERSION exit end # TODO: replace the following with the body of your program puts "\#{__FILE__} was executed with \#{ARGV.inspect} arguments"
Version data entries
8 entries across 8 versions & 1 rubygems