Skip to content

feature request: Parsing of command line args as WDL input values #71

Closed
@a-frantz

Description

@a-frantz

This can be added in a follow-up PR to the input module being added in #69 .

miniwdl has this feature and it's very useful for run commands (which does not yet exist in sprocket, but will be added soon). The miniwdl implementation can be reviewed here - https://github.com/chanzuckerberg/miniwdl/blob/main/WDL/CLI.py#L951
miniwdl is able to merge the inputs from a JSON file and the CL, where CL args take precedence and overwrite values present in the JSON. We want to do the same, as that is very handy for scripting.

Primitive type inputs should all be handled in the form <input_key>=<value>. Compound types, structs, and objects, are trickier, and I don't yet know what the most ergonomic CLI would be 🤔

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions