Open wighawag opened 1 year ago
Hi @wighawag
forge script
includes the --json
flag but it currently outputs the JSON result https://github.com/foundry-rs/foundry/issues/7817 amongst all kinds of other output (which is incorrect behavior)
Does your request aim to achieve the same thing? In that case I suggest we move the conversation to https://github.com/foundry-rs/foundry/issues/7817
Component
Forge
Describe the feature you would like
my tool forge-deploy is currently using the return value of forge scripts (the value returned from the
run
function call) to export the data it need to synchronise deployments data via the broadcast files.The amount of data returned can be quite big and this can obfuscate the console output forge generate normally.
Having an option to not display such return data (which ends up in the broadcast file anyway) in the console (irrespective of the verbose flag) would be great
Additional context
No response