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 structured output to tach report #678

Open
pavelzw opened this issue Mar 11, 2025 · 0 comments
Open

Add structured output to tach report #678

pavelzw opened this issue Mar 11, 2025 · 0 comments
Labels
enhancement New feature or request

Comments

@pavelzw
Copy link

pavelzw commented Mar 11, 2025

It would be nice if tach report also supported json output.

Something like this

$ tach report --help
...
  --output        Output format, one of `pretty`, `raw`, `json`
tach report --json my_module
{
  "dependencies": [
    {
      "file_path": "my_module/abc.py",
      "line_number": 44,
      "import": "other_module.abc"
    },
    // ...
  ],
  "usages": ...,
  "external-dependencies": ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants