Any general (xml?) format for defining (input params of) command line tools?
Is there anything such as a general (xml or similar) format for defining command line tools, such as input params and outputs?
The format must be detailed enough to serve as the basis for automatically generating wizards for filling in the inputs required by a tool.
I already found the x开发者_如何学JAVAml-based format created by Bioinformatics integration workbench Galaxy. Problem is that the xml files in Galaxy toolconfig format are not independent, but need an accompanying python (.py) file that does some logic, and which does not follow any defined format, making it hard to port to other languages.
So, looking for other suggestions!
The docbooks collection includes XML definitions for command-line tools.
I'm glad that helped. It was a interesting question.
P.S.
Did you consider using a java like config file? i.e.
$ cat any.properties
javadoc.additionalparam=
javadoc.author=false
javadoc.encoding=
javadoc.noindex=false
javadoc.nonavbar=false
javadoc.notree=false
While I am learning about XML, I still don't preceive much advantage at the scale that I work at, do you? ;-)
精彩评论