#!/usr/bin/env ruby $:.push File.expand_path("../../lib", __FILE__) require 'deliver' require 'commander/import' HighLine.track_eof = false # Commander program :version, Deliver::VERSION program :description, 'CLI for \'Deliver\' - Upload screenshots, metadata and your app to the App Store using a single command' program :help, 'Author', 'Felix Krause ' program :help, 'Website', 'http://fastlane.tools' program :help, 'GitHub', 'https://github.com/krausefx/deliver' program :help_formatter, :compact global_option('--verbose') { $verbose = true } default_command :run require 'deliver/commands' def deliver_path [enclosed_directory, Deliver::Deliverfile::Deliverfile::FILE_NAME].join('/') end # The directoy in which the Deliverfile and metadata should be created def enclosed_directory "." end