You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I think more useful for many people if detekt would have a --version option to show the version to console.
Expected Behavior
$ detekt --version
1.6.0
Current Behavior
$ detekt --version
Was passed main parameter '--version' but no main parameter was defined in your arg class
Usage: detekt [options]
Options:
--auto-correct, -ac
...
Context
For example, ktlint gets its version from its manifest file,
Hello, I think more useful for many people if detekt would have a
--version
option to show the version to console.Expected Behavior
Current Behavior
Context
For example, ktlint gets its version from its manifest file,
https://github.com/pinterest/ktlint/blob/9eb31ca6fbe1fd3f0fca708fafc15468218cecc5/ktlint/src/main/kotlin/com/pinterest/ktlint/internal/KtlintVersionProvider.kt#L16-L18
so I believe that detekt can show the version in a similar way.
What do you think about this suggestion?
Thank you for reading.
The text was updated successfully, but these errors were encountered: