-
Notifications
You must be signed in to change notification settings - Fork 352
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 command to tail n lines of output #434
Comments
|
@4Ply thanks but that doesn't stream the results, it just shows the last 10 lines of the Docker's build command is a great example of what I'm after. Consider: cat <<-DOCKERFILE | docker build -
FROM debian
RUN apt-get update && apt-get install -y ruby
DOCKERFILE When Docker build gets to the |
I looked around a bit for this, maybe it would fit as added functionality to |
I've been thinking of trying to implement this functionality for
|
Dang, what @ZOrfeas mentioned would be so appreciated! Been testing different ways to try and stream stdout logs from a running api and was sad gum isn't able to handle it. |
For what it's worth, I was able to achieve what I wanted in pure bash: https://github.com/amancevice/spin |
Is your feature request related to a problem? Please describe.
I'd love a new gum command that allows a user to stream the last
n
lines of output — very much like how Docker displays steps in the build process.Describe the solution you'd like
I think the following would be an intuitive interface for users to show the
12
most recent lines of output ofbrew upgrade
:Describe alternatives you've considered
I'm not really sure how else to do this on the command line. I suppose a curses library could do it but that's not super convenient
Additional context
N/A
The text was updated successfully, but these errors were encountered: