def handle(self, *args, **options):
try:
trig = data_root().trigger_ids[options['trigger_id']]
except KeyError:
raise CommandError('Trigger %s not found' % options['trigger_id'])
trig.run(access_context='local-cli')
文章目录