diff --git a/documentation/index.html b/documentation/index.html index 3230de6..3182fb0 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -388,9 +388,25 @@ dependencies {

Templates

Templates are invoked with the --init parameter and typically used when you are creating - a new project and you want Kobalt to generate a few files to get you started. Plug-ins can provide multiple - templates and you can invoke as many as you need to get your project started. You can get a list of available - templates with the --listTemplates parameter: + a new project and you want Kobalt to generate a few files to get you started. The name that follows + the --init parameter can be of three different types. + +

A jar/zip file

+

+ If the file is found and is a zip/jar file, it will be extracted in the current directory. +

+$ ./kobaltw --init ~/templates/file.jar
+
+

+

A URL pointing to a jar/zip file

+

+ If the URL is valid and points to a zip/jar file, that file will be extracted in the current directory. +

+
+$ ./kobaltw --init http://example.com/file.jar
+
+

A template name

+Plug-ins can provide multiple templates and you can invoke as many as you need to get your project started. You can get a list of available templates with the --listTemplates parameter:

 $ kobaltw --listTemplates