Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Output Template Option #1196

Open
dwisiswant0 opened this issue Feb 28, 2025 · 0 comments · May be fixed by #1197
Open

Add Output Template Option #1196

dwisiswant0 opened this issue Feb 28, 2025 · 0 comments · May be fixed by #1197
Assignees
Labels
Type: Enhancement Most issues will probably ask for additions or changes.

Comments

@dwisiswant0
Copy link
Member

dwisiswant0 commented Feb 28, 2025

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.

@dwisiswant0 dwisiswant0 added the Type: Enhancement Most issues will probably ask for additions or changes. label Feb 28, 2025
@dwisiswant0 dwisiswant0 self-assigned this Feb 28, 2025
@dwisiswant0 dwisiswant0 linked a pull request Feb 28, 2025 that will close this issue
@dwisiswant0 dwisiswant0 linked a pull request Feb 28, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant