CWL: specifing one or more argument
Is there a way in Common Workflow Language, to specify one or more values for a given Command line tool input, that will make
./echo.cwl --cheers Hello World!
similar to,
./echo.cwl --cheers "Hello World!"
./echo.cwl --cheers Hello World! raises the following error ./echo.cwl error : unrecognized arguments: World!
• 1,819 views
•
link
1 answer
Hello kevin.o.oluoch,
The short answer is "no".
The dynamic command line capability of cwltool (the reference CWL runner) is for convenience only and is not part of the CWL v1.0 standards.
I don't know if what you are asking is even possible with argparse, but I would entertain a pull request if someone wants to try that out!
Cheers,
• 0 views
•
link
Log in to answer this question.
Hello kevin.o.oluoch,
Is this a question about the CWL reference implementation (
cwltool)'s dynamic command line interface ability, or about making aCommandLineToolthat generates command lines in this matter?making a
CommandLineToolthat generates command lines. But i'd appreciate an implementation specific answer, if this is not possible.