Skip to content

Improve how DNS records are displayed #13

Description

@weppos

Description

When listing DNS records via dnsimple records list <domain>, the table output is rendered with a tabwriter-based renderer that is not aware of the terminal width. As a result:

  • Long cell values (e.g., long TXT record content) overflow their cell and break the alignment of the table.
  • The output does not adapt to narrower terminal sizes, making it hard to read on smaller resolutions.

Expected Behavior or Outcome

  • The DNS records list table renders cleanly regardless of cell content length.
  • Long content wraps inside its own cell instead of overflowing into adjacent columns or off-screen.
  • The table adapts to the current terminal width (with a sensible fallback when the width cannot be detected).

Acceptance Criteria

  • Running dnsimple records list <domain> formats the records in a way that doesn't cause unformatted multi-line

Metadata

Metadata

Assignees

Labels

enhancementNew feature, enhancement or code changes, not related to defects

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions