from django.core.management import call_command
from django.core.management.base import BaseCommand

class Command(BaseCommand):
    help = "Intialize Application"

    def handle(self,*args,**options):
        commands = ["Create_Application","create_permissions","Create_Datasource"]
        for cmd in commands:
            call_command(cmd)
        
        self.stdout.write(
            self.style.SUCCESS('Application Intialization Done.')
            
        )