-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support positional args #1
Comments
For positional parameters, the entire tool command line must be formed in a specific order. PR will follow shortly with a command_line_override option in the tool to work around this for a project where it matters until a better fix. Fixing this properly is more involved so before I try, here's some reasoning: "positional" is usually a characteristic of a complete set of CL parameters associated with a particular tool Only input and output params can have position? None of the complex repeats/conditionals are predictable enough for a positional tool CL. Each parameter in a positional CL has an ordinal position. Add a unique integer "position", defaulting to None to the constructors. Check them if the positional attribute of the tool is true, so the final tool CL can be generated in the correct order. At export for a positional command line, the (current) list of cli from outputs and inputs need to be ordered by a (new) list of the ordinals. I can work around this for now but could try to implement something like this if it won't break much else |
maybe use generated names or ... ?
The text was updated successfully, but these errors were encountered: