Skip to content
Snippets Groups Projects
Commit 00c02d7d authored by Seblu's avatar Seblu
Browse files

command deltag

parent 688cbb2f
No related branches found
No related tags found
No related merge requests found
......@@ -302,6 +302,16 @@ class Command(object):
raise cmdError("RPCError: %s"%str(e))
cmd_settag.usage = "settag <account> <tag> <value>"
def cmd_deltag(self, argv):
'''Delete tag from account'''
if len(argv) != 3:
raise cmdBadArgument()
try:
self.cli.rpc.deltag(argv[1], argv[2])
except RpcError as e:
raise cmdError("RPCError: %s"%str(e))
cmd_deltag.usage = "deltag <account> <tag>"
class Alias(dict):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment