unioslo / unioslo/mreg-cli

No helpful output from `host cname_show` when there is no CNAME

Open
#153 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement good first issue
Dominant language
Python
Stars
2
Forks
7
Avg merge
6d 11h
Merged PRs (30d)
2

Description

host cname_show some-host-without-cnames.example.com. will complete silently. It would be nice if it said something about "No CNAMEs found".

https://github.com/unioslo/mreg-cli/blob/5e6bda69f1b36818139a215164dc4997373484ce/mreg_cli/host.py#L1390-L1414

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in mreg_cli/host.py at lines 1390-1414 and run host cname_show for a host without CNAMEs to observe the current silent result. Determine the existing output path for an empty result and verify that the command reports that no CNAMEs were found while preserving normal output when records exist.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.