facebook / facebook/buck2

BXL: format `ctx.output.print_json()` arguments

Open
#759 3 comments 0 reactions 0 assignees View on GitHub
bxl
Dominant language
Rust
Stars
4.4k
Forks
394
PR merge metrics
No merged PRs in 30d

Description

Objects like `cmd_args` or `RunInfo` are formatted when dumped with `ctx.output.write_json()`. Is there a way to do the same thing with `ctx.output.print_json()`? If not, would this be accepted as a new feature, via an optional argument that defaults to `False`?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.