jumpserver/apps/terminal/management/commands/install_builtin_applets.py

10 lines
275 B
Python
Raw Normal View History

2022-12-20 08:48:18 +00:00
from django.core.management.base import BaseCommand
class Command(BaseCommand):
help = 'Install builtin applets'
def handle(self, *args, **options):
from terminal.applets import install_or_update_builtin_applets
install_or_update_builtin_applets()