fastlane/lib/fastlane/commands_generator.rb in fastlane-2.85.0.beta.20180307050101 vs fastlane/lib/fastlane/commands_generator.rb in fastlane-2.85.0.beta.20180308050114

- old
+ new

@@ -117,18 +117,16 @@ c.option('-u STRING', '--user STRING', String, 'iOS projects only: Your Apple ID') # CrashlyticsBetaCommandLineHandler.apply_options(c) c.action do |args, options| - # if args[0] == 'beta' - # beta_info = CrashlyticsBetaCommandLineHandler.info_from_options(options) - # Fastlane::CrashlyticsBeta.new(beta_info, Fastlane::CrashlyticsBetaUi.new).run - # else is_swift_fastfile = args.include?("swift") Fastlane::Setup.start(user: options.user, is_swift_fastfile: is_swift_fastfile) - # end end end + + # Creating alias for mapping "swift init" to "init swift" + alias_command(:'swift init', :init, 'swift') command :new_action do |c| c.syntax = 'fastlane new_action' c.description = 'Create a new custom action for fastlane.'