On 5 June 2015 at 11:53, Menaka Madushanka <[email protected]> wrote:
>> What is [tool] here?
> For convert, we have to give the output file format. I used tool here to
> specify the converter which convert  to the specified format.
> So that it will be like this.
>        tavlang -C -wfdesc ../hello.t2flow ../output/
>        tavlang -C -r -json ../toConvert/ ../output/

Ah, I see, you've made one option for each output format.. does that
mean you could in theory ask for multiple outputs?

Why a single -, I would expect it to be double-dashed: --wfdesc, --json etc.


I would perhaps have done it as

tavlang -C --out-format=wfdesc ../hello.t2flow

..with that a similar --in-format (wish item!) could be used for
hard-coding input to avoid guessing (e.g. for files from stdin)


But I think you can have a go with what you prefer for now so we don't
dance too much about.


>       *-C --convert [output format] [options] [input] [output]  *

yeah, that's more understandable documentation. :)


> I thought of writing the results to a text file with the same name of the
> inspected file.

Yes, that is probably a good solution - and you hardcode the output
file extensions.





-- 
Stian Soiland-Reyes
Apache Taverna (incubating), Apache Commons RDF (incubating)
http://orcid.org/0000-0001-9842-9718

Reply via email to