Exemplo n.º 1
0
    def handle(self, *args, **options):
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0],
                      noinput=options['noinput'],
                      log=FakeLogger(self.stdout))
Exemplo n.º 2
0
    def handle(self, *args, **options):
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(
            args[0],
            noinput=options['noinput'],
            log=FakeLogger(self.stdout))
Exemplo n.º 3
0
    def handle(self, *args, **options):
        logging.basicConfig(level=logging.INFO)
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0])
Exemplo n.º 4
0
    def handle(self, *args, **options):
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0])