Module: ITunes::Store::Transporter::Command::Option

Included in:
Base
Defined in:
lib/itunes/store/transporter/command/option.rb

Constant Summary

VENDOR_ID =

Common command options

[ :vendor_id, "-vendor_id" ]
APPLE_ID =
[ :apple_id, "-apple_id" ]
SHORTNAME =
[ :shortname, "-s", String ]
TRANSPORT =

case sensitive?

:transport, "-t", %w|Aspera Signiant DAV|
ON_SUCCESS =
[ :on_success, "-success", Optout::Dir.exists ]
ON_FAILURE =
[ :on_failure, "-failure", Optout::Dir.exists ]
PACKAGE =
[ :package, "-f", Optout::Dir.exists.named(/\.itmsp\z/), { :required => true } ]
DESTINATION =
[ :destination, "-destination" ]
DELETE_ON_SUCCESS =
[ :delete_on_success, "-delete", Optout::Boolean ]