Skip to content

feat(trace): add JSON output support for trace command - #16

Merged
Aryan0628 merged 1 commit into
Aryan0628:mainfrom
HimanshuPathak2725:feat/trace-json-output
Jul 3, 2026
Merged

feat(trace): add JSON output support for trace command#16
Aryan0628 merged 1 commit into
Aryan0628:mainfrom
HimanshuPathak2725:feat/trace-json-output

Conversation

@HimanshuPathak2725

Copy link
Copy Markdown
Contributor

Summary

Adds JSON output support to the trace command.

Changes

  • Added --json CLI flag
  • Added structured JSON output for trace results
  • Suppressed human-readable logs in JSON mode
  • Added jsonOutput configuration support in tracer config

Example

npx dg trace processPayment --json

Example output:

{
  "symbol": "processPayment",
  "importers": [...],
  "totalImports": 5,
  "totalFiles": 3
}

Closes #

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

@HimanshuPathak2725 is attempting to deploy a commit to the Aryan Gupta's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel

vercel Bot commented Jul 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
diffguardian Ready Ready Preview, Comment Jul 3, 2026 4:44pm

@Aryan0628
Aryan0628 merged commit 813a0f5 into Aryan0628:main Jul 3, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants