meta(output): tracking issue for issues related to output modes (--json
, stdout
, stderr
)
#8794
Open
21 of 36 tasks
--json
, stdout
, stderr
)
#8794
Issues
Shell
note
andstatus
and implement--jobs
) toGlobalOpts
#8408anvil
): enforce verbosity flags (-vvv
) to control log verbosity and scope #3704should_include
betweencast
,test
,coverage
,script
, etc.. #8339Flags
-vvv
forge test -vvv
should not triggerforge build -v
, related Add a way to distinguish whether the user explicitly ranforge build
or it is part of a process likeforge test
#9340--json
forge test --gas-report --json
yields unexpected data and misses data #8789forge test
): JSON output should consistently adhere to verbosity flags #8735traces
field is missing when display option--json
is set #6922forge test
) add an optional--json-file
argument to write both tostdout
and to a JSON file #2210event-decode
command to parsing and formatting log data #6511coverage
): add--json
compatibility toforge coverage --report summary
#4071--json
flag incast wallet new-mnemonic
#9138forge create --verify
is incompatible with--json
, gives mixed output #1976.forge build --sizes
is not compatibleforge build --names
is not compatibleforge build --format-json
always prints (even if empty) when combined with other flagsforge script --json
is not cleanforge script --quiet
is not quiet (indicatif progress bars to do not respect output redirecting #3981)forge test --summary --detailed --json
does not print summary--json
flag, similar to the global--quiet
flag: feat: add global--json
flag #9244shell::Format::Json
enabled set the verbosity toquiet
, disabling all output except for errors.sh_json!
macro that renders JSON to the console ifshell::Format::Json
is active, either pretty or not. This could be automatically a no-op in anything except when the--json
flag is passed.--json
compatible, related: meta(output): tracking issue for issues related to output modes (--json
,stdout
,stderr
) #8794. With the current proposed change Anvil for example now has a--json
flag but is not yet compatible. What--json
means in context dependent to the command / tool. Goal is that it becomes much easier to chain Foundry into other tools.stdout
,stderr
cast
):failed printing to stdout: Broken pipe (os error 32)
#8568forge create --verify
is incompatible with--json
, gives mixed output #1976common::shell
#6569 (resolves above)To check / fix post #9109:
cast
):failed printing to stdout: Broken pipe (os error 32)
#8568The text was updated successfully, but these errors were encountered: