Scala 如何获得特定插件sbt的帮助?

Scala 如何获得特定插件sbt的帮助?,scala,sbt,Scala,Sbt,在sbt命令行工具中,如何获得特定插件的帮助 例如,在Maven中,您可以编写 mvn help:describe -Dplugin=docker sbt中是否有类似的内容?在sbt中,您使用插件和本机sbt命令的help。例如: > help projects projects List the names of available builds and the projects defined in those builds. projects add <URI>

在sbt命令行工具中,如何获得特定插件的帮助

例如,在Maven中,您可以编写

mvn help:describe -Dplugin=docker

sbt中是否有类似的内容?

在sbt中,您使用插件和本机sbt命令的
help
。例如:

> help projects
projects
    List the names of available builds and the projects defined in those builds.

projects add <URI>+
    Adds the builds at the provided URIs to this session.
    These builds may be selected using the project command.
    Alternatively, tasks from these builds may be run using the explicit syntax {URI}project/task

projects remove <URI>+
    Removes extra builds from this session.
    Builds explicitly listed in the build definition are not affected by this command.

> help assembly
Builds a deployable fat jar.
>帮助项目
项目
列出可用生成的名称以及在这些生成中定义的项目。
项目添加+
将提供的URI处的生成添加到此会话。
可以使用“项目”命令选择这些生成。
或者,可以使用显式语法{URI}project/task运行这些生成中的任务
项目移除+
从此会话中删除额外的生成。
生成定义中明确列出的生成不受此命令的影响。
>帮助组装
构建一个可部署的胖罐。

这假设插件实际上提供了帮助信息。

不幸的是,它没有做到它应该做的。它只列出以单词
docker
开头的命令。我需要的东西,其中列出了所有可能的目标插件。例如:
docker:publish
docker:publishLocal
,等等。sbt没有“目标”,插件也没有明确注册它们的功能。