Sha256: 41f5dbdda18cba9c75d913d9744e6f05ec2a9c48b6404e43003eca398de71bd5

Contents?: true

Size: 331 Bytes

Versions: 4

Compression:

Stored size: 331 Bytes

Contents

#!/usr/bin/env ruby

require "mangos"

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

4 entries across 4 versions & 1 rubygems

Version Path
mangos-0.0.5 bin/mangos
mangos-0.0.4 bin/mangos
mangos-0.0.3 bin/mangos
mangos-0.0.2 bin/mangos