Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow FormatterOptions to be altered by hooks #133

Open
greg-1-anderson opened this issue Nov 15, 2017 · 0 comments
Open

Allow FormatterOptions to be altered by hooks #133

greg-1-anderson opened this issue Nov 15, 2017 · 0 comments

Comments

@greg-1-anderson
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant