suvaidkhan commented on issue #5529:
URL: https://github.com/apache/gravitino/issues/5529#issuecomment-2515108329
@justinmclean appreciate the detailed response.
I was going towards adding a new command as both delete and remove are
already being used in the handleTagCommand() function, not sure how to
differentiate between those and the new delete tags from enitity command.
I've added the code snippet from the handleTagCommand() function showing
this.
```
else if (CommandActions.REMOVE.equals(command)) {
String property = line.getOptionValue(GravitinoOptions.PROPERTY);
if (property != null) {
newRemoveTagProperty(url, ignore, metalake, getOneTag(tags),
property).handle();
} else {
newUntagEntity(url, ignore, metalake, name, tags).handle();
}
}
else if (CommandActions.DELETE.equals(command)) {
boolean force = line.hasOption(GravitinoOptions.FORCE);
newDeleteTag(url, ignore, force, metalake, tags).handle();
}
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]