Exemplo n.º 1
0
    def __init__(self,
                 args=None,
                 project_type=None,
                 project_name=None,
                 base_dir=None):

        if args is None:
            args = []

        self.project_type = project_type
        self.base_dir = base_dir

        if project_type is not None:
            args.extend(["--type", project_type])

        if project_name is not None:
            args.append(project_name)

        BaseCommand.__init__(self, args)
Exemplo n.º 2
0
 def __init__(self, args=None, project_type=None, project_name=None):
     
     self.project_type = project_type
     self.project_name = project_name
     
     BaseCommand.__init__(self, args)