mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-29 17:38:12 -07:00
Rename archetype -> template.
This commit is contained in:
parent
d5e6a04b5d
commit
2b3aeabba2
14 changed files with 90 additions and 91 deletions
|
@ -100,9 +100,9 @@ private class Main @Inject constructor(
|
|||
//
|
||||
pluginInfo.plugins.forEach { Plugins.addPluginInstance(it) }
|
||||
|
||||
// --listArchetypes
|
||||
if (args.listArchetypes) {
|
||||
Archetypes().list(pluginInfo)
|
||||
// --listTemplates
|
||||
if (args.listTemplates) {
|
||||
Templates().list(pluginInfo)
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -148,7 +148,7 @@ private class Main @Inject constructor(
|
|||
println(AsciiArt.banner + Kobalt.version + "\n")
|
||||
}
|
||||
|
||||
if (args.archetypes != null) {
|
||||
if (args.templates != null) {
|
||||
//
|
||||
// --init: create a new build project and install the wrapper
|
||||
// Make sure the wrapper won't call us back with --noLaunch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue