You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: codesign.rb
    path of file: ./repos/WordPress-iOS/fastlane/lanes
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

# Lanes related to Code Signing and Provisioning Profiles
#
platform :ios do
  # Registers a new device in the Developer Portal and update all the Provisioning Profiles
  #
  # @option [String] device_name name to give to the device. Will be prompted interactively if not provided.
  # @option [String] device_id UDID of the device to add. Will be prompted interactively if not provided.
  #
  desc 'Registers a Device in the developer console'
  lane :register_new_device do |options|
    device_name = UI.input('Device Name: ') i
    
def update_code_signing_enterprise(readonly:, app_identifiers:)
  if readonly
    # In readonly mode, we can use the API key
    api_key_path = APP_STORE_CONNECT_KEY_PATH
  else
    # The Enterprise account APIs do not support authentication via API key.
    # If we want to modify data (readonly = false) we need to authenticate manually.
    prompt_user_for_app_store_connect_credentials
    # We also need to pass no API key path, otherwise Fastlane will give
    # precedence to that authentication mode.
    api_key_path = nil
  end

  update_code_signing(
    type: 'enterprise',
    # Enterprise builds belong to the "internal" team
    team_id: get_required_env('INT_EXPORT_TEAM_ID'),
    readonly:,
    app_identifiers:,
    api_key_path:
  )
end