Sha256: 9a9b0e4f23cccb18bc7c53977120a676981afd5b34b4a15cfc08369c869ce2ea

Contents?: true

Size: 357 Bytes

Versions: 1

Compression:

Stored size: 357 Bytes

Contents

#!/usr/bin/env ruby

require "mangos"
require "highline/import"

command = ARGV.first || "sync"
root_path = Pathname.new(ARGV[1] || ".").realpath

case command
when "install"
  mangos = Mangos::Mangos.new(root_path)
  mangos.install
when "update"
  mangos = Mangos::Mangos.new(root_path)
  mangos.update
else
  puts "Unknown command #{command.inspect}"
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mangos-0.0.1 bin/mangos