def METHOD_NAME(self, *args, **options):
    admin = User.objects.get(username="admin")
    if options.get('token', None):
        token = options.get('token')
    else:
        url = GithubImporter.get_auth_url(
            settings.IMPORTERS.get('github', {}).get('client_id', None)
        )
        print("Go to here and come with your code (in the redirected url): {}".format(url))
        code = input("Code: ")
        access_data = GithubImporter.get_access_token(
            settings.IMPORTERS.get('github', {}).get('client_id', None),
            settings.IMPORTERS.get('github', {}).get('client_secret', None),
            code
        )
        token = access_data
    importer = GithubImporter(admin, token)
    if options.get('project_id', None):
        project_id = options.get('project_id')
    else:
        print("Select the project to import:")
        for project in importer.list_projects():
            print("- {}: {}".format(project['id'], project['name']))
        project_id = input("Project id: ")
    users_bindings = {}
    if options.get('ask_for_users', None):
        print("Add the username or email for next github users:")
    for user in importer.list_users(project_id):
        while True:
            if user['detected_user'] is not None:
                print("User automatically detected: {} as {}".format(user['full_name'], user['detected_user']))
                users_bindings[user['id']] = user['detected_user']
                break
            if not options.get('ask_for_users', False):
                break
            username_or_email = input("{}: ".format(user['full_name'] or user['username']))
            if username_or_email == "":
                break
            try:
                users_bindings[user['id']] = User.objects.get(Q(username=username_or_email) | Q(email=username_or_email))
                break
            except User.DoesNotExist:
                print("ERROR: Invalid username or email")
    options = {
        "template": options.get('template'),
        "type": options.get('type'),
        "users_bindings": users_bindings,
        "keep_external_reference": options.get('keep_external_reference')
    }
    importer.import_project(project_id, options)