From 47425ac9087ea082d18df16ae8a0b39b89e6f8fd Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 16 Aug 2018 16:38:07 +0300 Subject: Add: delete command --- qvisqvetool | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/qvisqvetool b/qvisqvetool index da5aab0..23af698 100755 --- a/qvisqvetool +++ b/qvisqvetool @@ -135,6 +135,12 @@ class QvisqveTool(cliapp.Application): entity_path = '{}/{}'.format(path, name) self.output.write('Created {} {}\n'.format(kind, name)) + def cmd_delete(self, args): + kind = args[0] + for name in args[1:]: + path = '{}/{}'.format(paths[kind], name) + self.cmd_DELETE([path]) + def cmd_set_secret(self, args): kind, name, secret = args -- cgit v1.2.1