Sha256: 3c02f1d04fbce36e8e9b86fb6c8264a2dd0b06e38ee5db967db173420644e03d

Contents?: true

Size: 404 Bytes

Versions: 10

Compression:

Stored size: 404 Bytes

Contents

#!/usr/bin/env ruby
bin_dir = File.dirname(File.realpath(__FILE__))
$LOAD_PATH.unshift(File.expand_path(File.join('..', 'lib'), bin_dir))

require 'upm'

unless tool = UPM::Tool.for_os
  $stderr.puts "Error: I don't recognize this OS, or its package manager."
  exit 1
end

command, *args = ARGV

if command.nil?
  tool.help
else
  begin
    tool.call_command command, *args
  rescue Interrupt
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
upm-0.1.16 bin/upm
upm-0.1.15 bin/upm
upm-0.1.14 bin/upm
upm-0.1.13 bin/upm
upm-0.1.12 bin/upm
upm-0.1.11 bin/upm
upm-0.1.10 bin/upm
upm-0.1.9 bin/upm
upm-0.1.8 bin/upm
upm-0.1.7 bin/upm