You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@clerezza.apache.org by re...@apache.org on 2012/06/20 11:37:06 UTC

svn commit: r1352014 - /incubator/clerezza/trunk/parent/bundledevtool/src/main/scala/org/apache/clerezza/bundledevtool/DevDsl.scala

Author: reto
Date: Wed Jun 20 09:37:05 2012
New Revision: 1352014

URL: http://svn.apache.org/viewvc?rev=1352014&view=rev
Log:
CLEREZZA-705: added some usage instructions before making things more complicated

Modified:
    incubator/clerezza/trunk/parent/bundledevtool/src/main/scala/org/apache/clerezza/bundledevtool/DevDsl.scala

Modified: incubator/clerezza/trunk/parent/bundledevtool/src/main/scala/org/apache/clerezza/bundledevtool/DevDsl.scala
URL: http://svn.apache.org/viewvc/incubator/clerezza/trunk/parent/bundledevtool/src/main/scala/org/apache/clerezza/bundledevtool/DevDsl.scala?rev=1352014&r1=1352013&r2=1352014&view=diff
==============================================================================
--- incubator/clerezza/trunk/parent/bundledevtool/src/main/scala/org/apache/clerezza/bundledevtool/DevDsl.scala (original)
+++ incubator/clerezza/trunk/parent/bundledevtool/src/main/scala/org/apache/clerezza/bundledevtool/DevDsl.scala Wed Jun 20 09:37:05 2012
@@ -59,6 +59,18 @@ class DevDsl(outputStream: OutputStream,
 				$[BundleRoot].addSourceBundle(dir)
 			}
 		}
+		
+		def help() {
+		  out println "The Dev utitly can be used as follows:"
+		  out println "Dev listArchetypes"
+		  out println "\tlists the available archetypes"
+		  out println "Dev create <archetype-name> in \"/path/to/directory\""
+		  out println "\tCreates a new project in /path/to/directory using the specified archetype"
+		  out println "Dev load \"/path/to/directory\""
+		  out println "\tLoads the project in /path/to/directory"
+		}
+		
+		override def toString = "Run 'Dev help' for usage instructions"
 	}
 
 }