realm icon indicating copy to clipboard operation
realm copied to clipboard

Implement a reverse JINJA2 template to help Parse dotnet or BOF output

Open hulto opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. Dotnet exe and BOFs are built by e3rd party developers and often don't return output in a clean format like JSON or YAML. In order to better support these tools and working with their output in Eldritch a tool to parse the output against a template describing the expected output would be nice.

Describe the solution you'd like Implement an eldritch function that takes in a template string and an output string returning a dictionary of matched params.

Describe alternatives you've considered

  • this could be done through regular expressions but that may become messy and hard to read / build.

Additional context

hulto avatar Mar 27 '23 16:03 hulto

https://stackoverflow.com/questions/37813550/is-it-possible-to-use-a-jinja2-template-to-reverse-engineer-the-parameters-from

hulto avatar Mar 28 '23 03:03 hulto