Sha256: e16a57b3cfce322237c38740a8d0687141fbc52b278f64aea0f37af41013883b

Contents?: true

Size: 357 Bytes

Versions: 3

Compression:

Stored size: 357 Bytes

Contents

#!/usr/bin/env ruby

require "storys"
require "highline/import"

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
storys-0.0.3 bin/storys
storys-0.0.2 bin/storys
storys-0.0.1 bin/storys