Bug #19191

It's impossible to create output formatter that applies only on tables but not on basic output

Added by Tomáš Strachota 21 days ago.

Status:New
Priority:Normal
Assigned To:-
Category:Hammer core
Target version:Foreman - Team Marek backlog
Difficulty: Bugzilla link:
Found in release: Pull request:
Story points-
Velocity based estimate-

Description

Currently before a column is printed hammer selects a set of formatters to apply based on tags. Only formatters with tags that match set of output adapter's tags are selected. This system is good for adding formatters but it's impossible to exclude a formatter from being used with some adapters.

For example I wanted to add formatter that would squeeze multiline values onto one line for tabular output. There's no way how to limit usage of such formatter only to tables.


Related issues

Related to Hammer CLI - Tracker #14914: Tracker for output related issues New 05/03/2016

History

#1 Updated by Tomáš Strachota 21 days ago

Also available in: Atom PDF