def METHOD_NAME(self, *args, **options):
    limit = options["limit"]
    workspace_id = options["workspace_id"]
    if workspace_id is not None:
        try:
            workspace = Workspace.objects.get(id=workspace_id)
        except Workspace.DoesNotExist:
            self.stdout.write(
                self.style.ERROR(
                    f"The workspace with id {workspace_id} was not found."
                )
            )
            sys.exit(1)
    else:
        workspace = None
    tick = time.time()
    crete_users(limit, workspace)
    tock = time.time()
    self.stdout.write(
        self.style.SUCCESS(
            f"{limit} users have been created in {(tock - tick):.1f} secs."
        )
    )