You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
jumpserver/apps/terminal/management/commands/install_builtin_applets.py

10 lines
275 B

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()