deliver/lib/deliver/commands_generator.rb in fastlane-2.6.0 vs deliver/lib/deliver/commands_generator.rb in fastlane-2.7.0
- old
+ new
@@ -42,11 +42,11 @@
global_option('--verbose') { $verbose = true }
always_trace!
command :run do |c|
- c.syntax = 'deliver'
+ c.syntax = 'fastlane deliver'
c.description = 'Upload metadata and binary to iTunes Connect'
c.action do |args, options|
options = FastlaneCore::Configuration.create(deliverfile_options, options.__hash__)
loaded = options.load_configuration_file("Deliverfile")
loaded = true if options[:description] || options[:ipa] || options[:pkg] # do we have *anything* here?
@@ -61,22 +61,22 @@
Deliver::Runner.new(options).run
end
end
command :submit_build do |c|
- c.syntax = 'deliver submit_build'
+ c.syntax = 'fastlane deliver submit_build'
c.description = 'Submit a specific build-nr for review, use latest for the latest build'
c.action do |args, options|
options = FastlaneCore::Configuration.create(deliverfile_options, options.__hash__)
options.load_configuration_file("Deliverfile")
options[:submit_for_review] = true
options[:build_number] = "latest" unless options[:build_number]
Deliver::Runner.new(options).run
end
end
command :init do |c|
- c.syntax = 'deliver init'
+ c.syntax = 'fastlane deliver init'
c.description = 'Create the initial `deliver` configuration based on an existing app'
c.action do |args, options|
if File.exist?("Deliverfile") or File.exist?("fastlane/Deliverfile")
UI.important("You already have a running deliver setup in this directory")
return 0
@@ -88,11 +88,11 @@
Deliver::Setup.new.run(options)
end
end
command :generate_summary do |c|
- c.syntax = 'deliver generate_summary'
+ c.syntax = 'fastlane deliver generate_summary'
c.description = 'Generate HTML Summary without uploading/downloading anything'
c.action do |args, options|
options = FastlaneCore::Configuration.create(deliverfile_options, options.__hash__)
options.load_configuration_file("Deliverfile")
Deliver::Runner.new(options)
@@ -101,11 +101,11 @@
system("open '#{html_path}'") unless options[:force]
end
end
command :download_screenshots do |c|
- c.syntax = 'deliver download_screenshots'
+ c.syntax = 'fastlane deliver download_screenshots'
c.description = "Downloads all existing screenshots from iTunes Connect and stores them in the screenshots folder"
c.action do |args, options|
options = FastlaneCore::Configuration.create(deliverfile_options(skip_verification: true), options.__hash__)
options.load_configuration_file("Deliverfile")
@@ -115,10 +115,10 @@
Deliver::DownloadScreenshots.run(options, path)
end
end
command :download_metadata do |c|
- c.syntax = 'deliver download_metadata'
+ c.syntax = 'fastlane deliver download_metadata'
c.description = "Downloads existing metadata and stores it locally. This overwrites the local files."
c.action do |args, options|
options = FastlaneCore::Configuration.create(deliverfile_options(skip_verification: true), options.__hash__)
options.load_configuration_file("Deliverfile")