Skip to content

feat(cli): add no-color output controls#643

Open
pengyuayn wants to merge 1 commit into
StellarCommons:mainfrom
pengyuayn:fix/no-color
Open

feat(cli): add no-color output controls#643
pengyuayn wants to merge 1 commit into
StellarCommons:mainfrom
pengyuayn:fix/no-color

Conversation

@pengyuayn

Copy link
Copy Markdown

Summary

  • Adds a shared color utility that honors both --no-color and the NO_COLOR environment variable.
  • Wires the global --no-color option through explain, tx, account, and health output paths.
  • Keeps the existing colorize/config exports compatible and documents the color-disable options.
  • Removes stale stub code in src/index.ts so the CLI entrypoint typechecks/builds.

Validation

  • PASS: npm test -- --run tests/color.test.ts tests/config.test.ts
  • PASS: npm run typecheck
  • PASS: npm run build

Closes #549

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CLI #105 — Add --no-color flag to disable color output

1 participant