Sha256: da7728269842c790614ca33002001d4138afd0197855c2f6c70a15aa4b168b6e

Contents?: true

Size: 544 Bytes

Versions: 1

Compression:

Stored size: 544 Bytes

Contents

#!/usr/bin/env ruby

require "cartup"

COMMAND_RUN = "run"
COMMAND_INIT = "init"
COMMAND_HELP = "help"

command = ARGV[0]

helpDescription = <<-EOF
  These are common Cartup commands used in some situations: 
    - init      Create an empty cart_uploader.yaml 
    - run       uploading the Carthage prebuilts to a cloud storage
    - help      show help instructions and list available subcommands
EOF

if command == COMMAND_RUN
  CartBinaryUploader.run
elsif command == COMMAND_INIT
  CartBinaryUploader.init
else
  puts helpDescription
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cartup-0.1.5 exe/cartup