justinmclean commented on issue #5861: URL: https://github.com/apache/gravitino/issues/5861#issuecomment-2549827556
You do not have to modify all subclasses. Remember, the CLI library does a lot of the work for you before you get to this point, and there is no need to check for things that have already been checked. There should not be excessive duplication if you place common validation in methods in the `Command` base class. If the exception is an issue, you could get around that by using `System.err.println` and `System.exit(-1)`? -- 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: commits-unsubscr...@gravitino.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org