bin/deliver in deliver-0.8.0 vs bin/deliver in deliver-0.8.1
- old
+ new
@@ -16,11 +16,11 @@
program :help, 'Author', 'Felix Krause <deliver@krausefx.com>'
program :help, 'Website', 'https://fastlane.tools'
program :help, 'GitHub', 'https://github.com/krausefx/deliver'
program :help_formatter, :compact
- global_option '--force', 'Runs a deployment without verifying any information (PDF file). This can be used for build servers.'
+ global_option '-f', '--force', 'Runs a deployment without verifying any information (PDF file). This can be used for build servers.'
global_option '--beta', 'Upload a beta build to iTunes Connect. This uses the `beta_ipa` block.'
global_option '--skip-deploy', 'Skips submission of the build on iTunes Connect. This will only upload the ipa and/or metadata.'
always_trace!
@@ -44,12 +44,15 @@
end
end
command :init do |c|
c.syntax = 'deliver init'
+ c.option '-u', '--username String', String, 'Your Apple ID'
c.description = "Creates a new Deliverfile in the current directory"
c.action do |args, options|
+ set_username(options.username)
+
path = (Deliver::Helper.fastlane_enabled?? './fastlane' : '.')
Deliver::DeliverfileCreator.create(path)
end
end
\ No newline at end of file