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
fix(cli): use console.log for --json output, add tests
Switch --json output from process.stdout.write/process.stderr.write to
console.log/console.error, aligning with the existing pattern in
lookup.ts. This ensures the test harness captures JSON output correctly.
Add unit tests verifying --json flag in help output and JSON error
formatting for pre-chain validation errors.
Add integration tests for content view/set, pop info/set, and register
domain in --json mode, validating JSON shape and absence of human output
markers.
Add code comment explaining why ora spinners are safe inside maybeQuiet
(withCapturedConsole replaces .write on the stream object that ora
caches by reference).
0 commit comments