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

Support for Output file format flag #27

Merged
merged 1 commit into from
May 12, 2024
Merged

Conversation

shivasurya
Copy link
Owner

closes: #22

Description

I have introduced --output-file format flag so that the results are stored in output file as json array.

Example

pathfinder --project /Users/shiva/src/android --output json 
--query "FIND class_declaration WHERE visibility = 'public'" --output-file result.json

@shivasurya shivasurya self-assigned this May 12, 2024
@shivasurya shivasurya merged commit e7f4fca into main May 12, 2024
2 checks passed
@shivasurya shivasurya deleted the shiva/json-output-file branch May 12, 2024 01:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support output format save as json file
1 participant