Kuadrant / Kuadrant/dns-operator

DNS-CLI: structured output for the zone-records command

Open
#640 0 comments 0 reactions 0 assignees View on GitHub
CLI enhancement
Dominant language
Go
Stars
12
Forks
23
Avg merge
1d 4h
Merged PRs (30d)
14

Description

**Is your feature request related to a problem? Please describe.**
The table format is the only format `zone-records` command shows zone dns records right now. It would be nice to have an option to output dnsrecords in some structured format like yaml/json/dig so the dns records in the zone could then be piped further, to other cli tools, to work with shown zone records.

**Describe the solution you'd like**
Any structured format for dns records shown - yaml/json/dig. Can be an optional flag like `-o/--output yaml`

# actions
- [x] #657
- [ ] https://github.com/Kuadrant/dns-operator/issues/601
- [x] #658

Contributor guide

Open the contributing guide

Research direction

Start at the CLI implementation of the zone-records command and review the remaining work tracked in issue #601. Trace how zone DNS records are currently rendered as a table, then determine the existing output conventions before adding an optional structured format; done means the command supports the selected format and preserves the current table output.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.