def generate_input_template(tool: Process) -> CWLObjectType:
    'Generate an example input object for the given CWL process.'
    template = ruamel.yaml.comments.CommentedMap()
    for inp in cast(List[MutableMapping[(str, str)]], realize_input_schema(tool.tool['inputs'], tool.schemaDefs)):
        name = shortname(inp['id'])
        (value, comment) = generate_example_input(inp['type'], inp.get('default', None))
        template.insert(0, name, value, comment)
    return template
Generate an example input object for the given CWL process.
def generate_input_template(tool: Process) -> CWLObjectType:
    
    template = ruamel.yaml.comments.CommentedMap()
    for inp in cast(List[MutableMapping[(str, str)]], realize_input_schema(tool.tool['inputs'], tool.schemaDefs)):
        name = shortname(inp['id'])
        (value, comment) = generate_example_input(inp['type'], inp.get('default', None))
        template.insert(0, name, value, comment)
    return template