from django.core.management.base import BaseCommand
from cleanup.tasks import cleanup_pastas

class Command(BaseCommand):
    help = 'Remove arquivos temporários diariamente'

    def handle(self, *args, **kwargs):
        cleanup_pastas()
        self.stdout.write(self.style.SUCCESS("Limpeza diária concluída."))
