Skip to content

PORTW-28: Add --plain flag with one line per socket - #28

Merged
JtheGunner merged 4 commits into
mainfrom
feat/PORTW-28-add-plain-output-flag
Nov 12, 2026
Merged

JtheGunner merged 4 commits into
mainfrom
feat/PORTW-28-add-plain-output-flag

Conversation

@JtheGunner

Copy link
Copy Markdown
Owner

Issue: https://youtrack.xn--wrm-hoa.li/issue/PORTW-28

Adds --plain: one tab-separated line per socket (port, protocol, address, PID, source, name), stable order, no colour or truncation; control characters in process data are sanitised. --plain with --json exits 2. README and CHANGELOG updated; JSON schema unchanged.

Note: touches internal/cli/run.go and README.md like other open PRs of this batch. The two fix commits can be squashed on merge.

Commits:

  • feat: add --plain flag with one tab-separated line per socket
  • fix: sanitise control characters in plain output fields
  • test: use valid UTF-8 literal in plain control character test

Review: independent review PASS on fb17a75.

@JtheGunner
JtheGunner merged commit 91275ff into main Nov 12, 2026
3 checks passed
@JtheGunner
JtheGunner deleted the feat/PORTW-28-add-plain-output-flag branch November 12, 2026 13:20
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.

1 participant