mirror of
https://github.com/yogeshojha/rengine.git
synced 2026-09-18 15:57:44 +02:00
12 lines
337 B
Python
12 lines
337 B
Python
from django.core.management.base import BaseCommand
|
|
from reNgine.common_func import load_custom_scan_engines
|
|
|
|
|
|
class Command(BaseCommand):
|
|
help = 'Loads custom engines from YAMLs in custom_engines/ folder into database'
|
|
|
|
def handle(self, *args, **kwargs):
|
|
return load_custom_scan_engines('/usr/src/app/custom_engines')
|
|
|
|
|