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 printing code to specify column order #56

Open
obelisk opened this issue Oct 18, 2019 · 0 comments
Open

Allow printing code to specify column order #56

obelisk opened this issue Oct 18, 2019 · 0 comments
Labels
UX For things relating to the experience of someone using goquery

Comments

@obelisk
Copy link
Collaborator

obelisk commented Oct 18, 2019

Right now we print all columns in alphabetical order which works decently but isn't very flexible. We should improve the printing code so defined order can be passed in and printed out that way.

This will allow us to reorder .hosts fields in pretty and line print as well as eventually use the ordering that osquery defaults do (for example if path is present, it is almost always first)

@obelisk obelisk added the UX For things relating to the experience of someone using goquery label Oct 18, 2019
@obelisk obelisk changed the title All printing code to specify column order Allow printing code to specify column order Oct 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
UX For things relating to the experience of someone using goquery
Projects
None yet
Development

No branches or pull requests

1 participant