As discussed in PR #245, the processCommand method in CLIProcessor.java has high cyclomatic complexity and NPath complexity. It was suggested to refactor this method by breaking it into smaller, more focused methods to improve readability and maintainability.
This issue is created to revisit the refactoring of the processCommand method as requested by @david-waltermire.
Original comment: #245 (comment)