You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@taverna.apache.org by st...@apache.org on 2015/08/05 18:29:04 UTC

[07/15] incubator-taverna-language git commit: Inspection command complete

Inspection command complete

Project: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/commit/391d0e60
Tree: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/tree/391d0e60
Diff: http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/diff/391d0e60

Branch: refs/heads/master
Commit: 391d0e60c7441c3d0363ce2f9c343301e3816d24
Parents: 9fd691e
Author: Menaka Madushanka <me...@gmail.com>
Authored: Tue Jul 28 18:32:26 2015 +0530
Committer: Menaka Madushanka <me...@gmail.com>
Committed: Tue Jul 28 18:32:26 2015 +0530

----------------------------------------------------------------------
 taverna-language-commandline/README.md | 52 +++++++++++++++++++++++++++--
 1 file changed, 50 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-taverna-language/blob/391d0e60/taverna-language-commandline/README.md
----------------------------------------------------------------------
diff --git a/taverna-language-commandline/README.md b/taverna-language-commandline/README.md
index bef8ed1..bf130de 100644
--- a/taverna-language-commandline/README.md
+++ b/taverna-language-commandline/README.md
@@ -116,7 +116,7 @@ The tool has following major commands.
 
 ## Commands in detail
 
-### Convert
+### convert
 
 Convert the given workwlow file/s into a specified output format.
 
@@ -201,4 +201,52 @@ Convert all the workflows in the input directory and store them in /home/final d
 Output:
 
 	/home/final/1.iwir is created
-	/home/final/2.iwir is created
\ No newline at end of file
+	/home/final/2.iwir is created
+	
+### inspect
+
+Inspect the given workflow file/s and give the inspection report. 
+Support workflow bundle formats: .wfbundle, .t2flow
+
+Usage:-
+	
+	$tavlang inspect <--inspection_options> <-other-options> [arguments] <workflow bundles to be inspected>
+	
+Inspection options: 
+
+ * --servcetypes :- List all the service-types used in the workflow
+ * --processornames :- List the tree of the processor names used in the workflow
+ 
+Other Options:
+
+ * -l, --log :- save the inspection report in a text file 
+ 
+###### Example 1: Without any other-options
+
+1.
+	$tavlang inspect --servicetypes helloworld.wfbundle
+	Service types used in helloworld.wfbundle :
+
+	http://ns.taverna.org.uk/2010/activity/constant
+	**************************************************
+
+2.
+	
+	$tavlang inspect --processornames helloworld.wfbundle
+	Processor tree of helloworld.wfbundle 
+	+ Hello_World
+	  - hello
+	
+###### Example 2: With other options
+The output is the same but the results will be saved in the given file.
+
+	$tavlang inspect --processornames helloworld.wfbundle -l results.txt
+	Processor tree of helloworld.wfbundle 
+	+ Hello_World
+	 - hello
+
+
+The output will be saved in results.txt in the same format.
+
+### validate
+### stats
\ No newline at end of file