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

Add option to choose fields to be displayed #46

Open
mlimaloureiro opened this issue Sep 29, 2015 · 1 comment
Open

Add option to choose fields to be displayed #46

mlimaloureiro opened this issue Sep 29, 2015 · 1 comment

Comments

@mlimaloureiro
Copy link
Contributor

When doing an ec2 ls for instance it would be nice to have an option to choose the fields we want to see, instead of using a grep

@donnemartin
Copy link
Owner

@mlimaloureiro interesting idea. Curious how the user would select which fields to display...perhaps an autocomplete or to show help in the completer or in-line?

In addition to grep, I think jq is also handy for filtering the output, if it's set to json.

The docs for awscli suggest something like this to show just the instance ids, which SAWS might make more convenient:

aws ec2 describe-instances --query "Reservations[].Instances[].[InstanceId]

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

No branches or pull requests

2 participants