def METHOD_NAME(self, *args, **options):
    self.dry_run = options["dry_run"]
    if not settings.AMPLITUDE_API_KEY:
        raise CommandError("AMPLITUDE_API_KEY must be configured.")
    for kind, label in SYNC_CHOICES.choices:
        if "deprecated" not in label:
            print(f"Synchronizing {label} with Amplitude.")
            self.sync(kind)