defx(operation:str= typer.Option('extract','--operation','-o',help='Operation to perform'), target_type:str= typer.Option('str','--type','-t',help="Type of entities to extract (any type that can be eval'd)"), instructions:str= typer.Option(None,'--instructions','-i',help='Instructions for extraction'), n:int= typer.Option(1,'--n','-n',help='Number of results to generate'))
Extract entities from stdin input.
Example: echo “one, two, three” | marvin x -t int | jq