Skip to content

feat: hide PEM output by default, add --show-pem flag - #5

Merged
catay merged 1 commit into
mainfrom
feat/show-pem-flag
Jan 31, 2026
Merged

feat: hide PEM output by default, add --show-pem flag#5
catay merged 1 commit into
mainfrom
feat/show-pem-flag

Conversation

@catay

@catay catay commented Jan 31, 2026

Copy link
Copy Markdown
Owner

Summary

Hide PEM-encoded certificate output by default for cleaner output. Add --show-pem flag to display it when needed.

Changes

  • Add --show-pem flag to client and pem commands
  • PEM output is now hidden by default
  • PEM field omitted from JSON/YAML output when not requested (using omitempty)
  • Update README documentation with new flag usage

Usage

# Default - no PEM output
tlsctl client google.com

# Show PEM
tlsctl client --show-pem google.com
tlsctl pem --show-pem cert.pem

- Add --show-pem flag to client and pem commands
- PEM output is now hidden by default for cleaner output
- PEM field omitted from JSON/YAML when not requested
- Update README documentation with new flag usage
@catay
catay merged commit 8685c48 into main Jan 31, 2026
1 check passed
@catay
catay deleted the feat/show-pem-flag branch January 31, 2026 22:44
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