def handle_grunt(self, *arguments, **options):
        return self.call_program("grunt",
            *(tuple(arguments) + \
                (("--base", self.options["grunt_base"]) \
                    if self.options["grunt_base"] \
                    else ()) + \
                (("--gruntfile", self.options["gruntfile"]) \
                    if self.options["gruntfile"] \
                    else ()) + \
                (("--debug",) \
                    if self.options["grunt_debug"] \
                    else ()) + \
                (("--verbose",) \
                    if self.options["verbosity"] >= 3 \
                    else ())))
dataset/ETHPy150Open skibblenybbles/django-grunt/grunt/management/grunt.py/GruntCommandOptions.handle_grunt/original