From 484de706c4428a7dd7b160cafaff1f37137418bd Mon Sep 17 00:00:00 2001
From: Cedric Beust
Templates are invoked with the
+ If the file is found and is a zip/jar file, it will be extracted in the current directory.
+Templates
--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
+
+$ ./kobaltw --init ~/templates/file.jar
+
+
+ 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 ++
--listTemplates
parameter:
$ kobaltw --listTemplates