Exemple #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))
Exemple #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))
Exemple #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])
Exemple #4
0
    def handle(self, *args, **options):
        if not args:
            raise CommandError('You must specify which index to delete.')

        es_delete_cmd(args[0])