def handle(self, *args, **options):
        text = json.dumps(
            rest.router.get_config(),
            indent=4,
        )
        if options['format'] == "amd":
            text = "define(%s);" % text
        self.stdout.write(text)
dataset/ETHPy150Open wq/wq.db/rest/management/commands/dump_config.py/Command.handle/original