ework.profiles.base.2023.1.0-M2.source-code.list-plugins.groovy Maven / Gradle / Ivy
description("Lists available plugins from the Plugin Repository") {
usage "grace list-plugins"
}
try {
console.addStatus "Available Plugins"
def text = new URL('https://repo1.maven.org/maven2/org/graceframework/plugins/').text
text.eachMatch(/.+/) {
console.log "* ${it[1]}"
}
}
catch(Throwable e) {
console.error "Failed to list plugins", e
return false
}