Project

General

Profile

Feature #21634

Allow modification of output fields

Added by Tomáš Strachota over 1 year ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Output fields can currently be only added to the end of the field list. Hammer's output DSL should provide interface for removing fields and adding nested fields. This functionality is important for plugins to allow them to better structure the output and place fields into logical structure.

It will probably require adding some kind of unique identifiers to fields that would be used for addressing (it could be the field key by default with possibility to override). Such identifiers could be also later reused for selection of fields in the output (see: http://projects.theforeman.org/issues/19135).


Related issues

Related to Hammer CLI - Feature #21635: Extensible commands in hammerClosed

Associated revisions

Revision 32a2651a (diff)
Added by Oleh Fedorenko 8 months ago

Fixes #21634 - Allows modification of output fields (#275)

History

#1 Updated by Tomáš Strachota over 1 year ago

#2 Updated by Oleh Fedorenko about 1 year ago

  • Assignee set to Oleh Fedorenko
  • Status changed from New to Assigned

#3 Updated by The Foreman Bot about 1 year ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/theforeman/hammer-cli/pull/275 added

#4 Updated by Tomáš Strachota 8 months ago

  • Fixed in Releases hammer-cli-0.16.0 added

#5 Updated by Oleh Fedorenko 8 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF