Aws-cli: Add support for PAGER/AWS_PAGER

Created on 18 Apr 2014  路  6Comments  路  Source: aws/aws-cli

We've had feature requests to support a PAGER/AWS_PAGER environment variable. It would work similar to other CLIs that support a pager env var in that any output would be sent to the pager if the var is set (provided it would take up more than one page).

automation-exempt feature-request

All 6 comments

Good Morning!

We're closing this issue here on GitHub, as part of our migration to UserVoice for feature requests involving the AWS CLI.

This will let us get the most important features to you, by making it easier to search for and show support for the features you care the most about, without diluting the conversation with bug reports.

As a quick UserVoice primer (if not already familiar): after an idea is posted, people can vote on the ideas, and the product team will be responding directly to the most popular suggestions.

We鈥檝e imported existing feature requests from GitHub - Search for this issue there!

And don't worry, this issue will still exist on GitHub for posterity's sake. As it鈥檚 a text-only import of the original post into UserVoice, we鈥檒l still be keeping in mind the comments and discussion that already exist here on the GitHub issue.

GitHub will remain the channel for reporting bugs.

Once again, this issue can now be found by searching for the title on: https://aws.uservoice.com/forums/598381-aws-command-line-interface

-The AWS SDKs & Tools Team

Based on community feedback, we have decided to return feature requests to GitHub issues.

All these many years later, this is now a thing. #4702

And I hate it because they've changed the default behaviour! All my scripts containing aws commands are halting at each aws command as less waits for me to hit q.

Yeah, very much a breaking change to all interactive script using --output.

@SydneyUniLibrary-Jim @seren It's possible to disable piping to a pager by setting AWS_PAGER="".

@joguSD Thanks. Yes, I've had to add AWS_PAGER="" to the top of all scripts that use aws-cli and remind teammates to do the same for any new scripts.

Was this page helpful?
0 / 5 - 0 ratings