Implementation notes for RFC #3816 Nice to haves in the CLI: - [x] Display current log level - actually removed through #4843 - [x] Display PMD version - [ ] Log command-line arguments - [ ] Log classpath (also, avoid printing entire classpath in 'cannot resolve resource' error) - [ ] Colors for errors when in a terminal, also a way to disable them - [x] #3828 Implementation - [ ] Use MessageReporter in more places, eg RuleApplicator - [ ] Make the MessageReporter configurable (done in #3892) - [ ] Make a MessageReporter implementation that doesn't depend on SLF4J, use that for the CLI - [ ] Cleanup the API of MessageReporter, the implicit use of MessageFormat everywhere is confusing... - [x] #3922 - [ ] Use MessageReporter to report CLI errors: https://github.com/pmd/pmd/blob/642716fabf985d4ca53043d86164a41083af93ab/pmd-cli/src/main/java/net/sourceforge/pmd/cli/internal/PmdRootLogger.java#L67
Implementation notes for RFC #3816
Nice to haves in the CLI:
Implementation
pmd/pmd-cli/src/main/java/net/sourceforge/pmd/cli/internal/PmdRootLogger.java
Line 67 in 642716f