-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Please describe your feature request:
The -output-template option should allow users to define custom output formats using templates, providing flexibility in structuring results. This feature would replace the -field flag and enable users to extract and format specific data directly from the command line.
Describe the use case of this feature:
Users may want to format output according to their specific needs, such as extracting particular fields like email and url and displaying them in a structured format. For example, with the command:
katana -u https://example.com -output-template '{{email}} - {{url}}'The output would present extracted email addresses alongside their corresponding URLs. Additionally, any unresolved or missing fields should be omitted from the output to ensure clean formatting. This feature enhances usability by allowing customized data presentation without requiring additional processing.