Skip to content

Allow FormatterOptions to be altered by hooks #133

Open
@greg-1-anderson

Description

Goal

Dynamically alter the way output is formatted in a post-process hook, e.g. to dynamically select the default fields based on the command output.

Expected behavior

The FormatterOptions should be available via a method of CommandData.

Actual behavior

FormatterOptions is created in a protected method CommandProcessor::writeUsingFormatter() immediately before it is used.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions