mirror of
https://gitee.com/dcren/initializr.git
synced 2025-12-26 22:25:51 +08:00
Add version range in command-line help
This commit is contained in:
@@ -84,6 +84,10 @@ class CommandLineHelpGenerator {
|
||||
if (it.description) {
|
||||
description += ": $it.description"
|
||||
}
|
||||
if (it.versionRange) {
|
||||
String range = it.versionRange.trim()
|
||||
description += " - $range"
|
||||
}
|
||||
dependencies[it.id] = description
|
||||
}
|
||||
model['dependencies'] = dependencies
|
||||
|
||||
Reference in New Issue
Block a user