Feature #4676

More readable output of collections in base output adapter

Added by Tomáš Strachota over 4 years ago. Updated 6 days ago.

Status:Closed
Priority:Normal
Assignee:Tomáš Strachota
Category:Hammer core
Target version:1.9.0
Difficulty: Team Backlog:
Triaged: Fixed in Releases:
Bugzilla link: Found in Releases:
Pull request:

Description

Current output of collections is not very readable. It is difficult to distinguish where the records end.
See example of listing interfaces from host info:

Managed Network Interfaces:
  Id:   2
  Name: interface_1
  IP:   1.2.3.86
  MAC:  aa:bb:cc:dd:ee:33
  Id:   3
  Name: interface_2
  IP:   1.2.3.84
  MAC:  aa:bb:cc:dd:ee:11

We should find a way of dividing the records visually.

Associated revisions

Revision 0259b4ab
Added by Tomas Strachota over 4 years ago

fixes #4676 - numbered collections in output

Revision 167453b0
Added by Tomas Strachota over 4 years ago

Merge pull request #95 from tstrachota/collections

fixes #4676 - numbered collections in output

History

#1 Updated by Tomáš Strachota over 4 years ago

  • Status changed from Assigned to Ready For Testing

#2 Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

Applied in changeset foreman:hammer-cli|commit:0259b4ab5f83c67f055b7d4cac044a1127b649b3.

Also available in: Atom PDF