def initialize():
    """
    Function to initialize settings from command line and/or custom settings file
    :return: Returns str with operation type
    """
    if len(sys.argv) == 1:
        usage()
        sys.exit()

    command = _get_command(sys.argv[1])

    try:
        opts, args = getopt.getopt(sys.argv[2:], 'h:e:p:u:l:P:s:m:',
                                   ['help', 'email=', 'password=', 'url=', 'locale=',
                                    'po-path=', 'settings=', 'message='])
    except getopt.GetoptError:
        usage()
        sys.exit()

    params = _get_params_from_options(opts)
    _set_settings_file(settings, params)

    if command == 'push':
        if 'GIT_MESSAGE' in params:
            return 'push', params['GIT_MESSAGE']
        return 'push', None

    return command, None
Function to initialize settings from command line and/or custom settings file
    :return: Returns str with operation type