On 31-May-15 16:12, Menaka Madushanka wrote:
Hi all,
I created a simple command line argument setup for the language.
Here is the usage
usage: tverna [-option] [arguments]
-c,--convert <format> <workflow_file> Convert workflows
into the given format
-h,--help Display help
information
-i,--inspect <workflow_file> Inspect the workflow
-o,--optional Execute some other
Commands
-v,--validate <workflow_file> Validate the
workflow
<format> the formats used in command line prototypes.
I appreciate any feedback regarding command line options that I have used,
what are there to be changed etc.
I used the apache commons-cli for command line parsing.
I would expect -o to choose the _output_ file. Do you have exampes of
what could be executed? -x would be a better choice.
I do not think -i is a good idea for inspect as it suggests _input_ to me.
-v is normally used for _version_
How do you specify the output file of a conversion? Can it take more
than one file?
Thank you very much
regards
Menaka
Alan