Is there a reason why 'glance index' has a built-in pager?
I'm hacking on the glance command, trying to make the output more useful to me.
I've already got a working --csv output option, for parseable output (although I'm thinking I should make it more generic and allow the user to specify the delimiter - tab, colon, comma, etc) , and now i want to make some changes to the human-readable tabulated output.
What I'd like to know is: is there a good reason why 'glance index' has a built-in pager ("Fetch next page? [Y/n]"), rather than rely on the fact that the user has access to more or less or whatever pager they prefer?
If there isn't a good reason, then i'll feel comfortable just rewriting that _images_index function. Otherwise, I'm not sure yet what I'll do.
The built-in pager, BTW, actually breaks the ability to use more or less, or even redirect output to a file as it sits there waiting for the user to enter Y or N after fetching the first "page" of image data. I should file that as a bug report.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Craig Sanders for more information if necessary.