Skip to content

No output with --generate_cwl_tool when ArgumentParser is instantiated with prog keyword #57

@ksebby

Description

@ksebby

The tool does not provide any output if the parser is instantiated with the prog keyword. e.g. for foo.py that contains parser = argparse.ArgumentParser(description='A description', prog='some prog name') and running python foo.py --generate_cwl_tool > foo.cwl foo.cwl will be empty. If prog='some prog name' is removed, everything works fine.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions