You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In turn it would also be useful to define a JSON schema for the output (#7813)
I've also noticed that alongside the JSON a lot of other lines are written to stdout making it difficult to cleanly capture the output. If --silent is passed and the --json flag is enabled only the JSON should be returned. It appears --silent is currently only applied to the compilation output during the build phase.
Additional context
No response
The text was updated successfully, but these errors were encountered:
Component
Forge
Describe the feature you would like
Currently when passing the
--json
flag the following is returned:foundry/crates/script/src/lib.rs
Lines 496 to 501 in f0d9eec
It would be beneficial to return more information, as defined by
ScriptResult
foundry/crates/script/src/lib.rs
Lines 462 to 474 in f0d9eec
In turn it would also be useful to define a JSON schema for the output (#7813)
I've also noticed that alongside the JSON a lot of other lines are written to stdout making it difficult to cleanly capture the output. If
--silent
is passed and the--json
flag is enabled only the JSON should be returned. It appears--silent
is currently only applied to the compilation output during the build phase.Additional context
No response
The text was updated successfully, but these errors were encountered: