Sha256: 09e9fd4ae988371689b2ad8d178b165e5800b7b86a8f7f3b5b0120695c36153a

Contents?: true

Size: 544 Bytes

Versions: 2

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 Git commands used in various 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

2 entries across 2 versions & 1 rubygems

Version Path
cartup-0.1.4 exe/cartup
cartup-0.1.2 exe/cartup