这不是一个完整的答案,但是至少对于luminus来说,似乎只需要传递一个错误的属性就可以获取属性列表:
$ lein new luminus meh +meh
Unrecognized options: +mhe
Supported options are: +immutant, +site, +h2, +dailycred, +cljs, +sassc, +swagger, +auth, +http-kit, +cucumber, +aleph, +mongodb, +postgres, +mysql
lein new :show <template>
不幸的是,如果模板函数没有提供文档字符串并使用rest args或选项映射,您将无法从中获得太多信息,可能需要检查模板的源代码。
查看lein help new
以获取有关new
任务的完整帮助信息。