Closed willmcgugan closed 2 years ago
We need a way of showing a fixed number of lines from either the head or the tail of a fail.
i.e. rich foo.py --head 10 would show the first ten lines.
rich foo.py --head 10
Note that this needs to be done after the file has been highlighted. It's not enough to apply this to the file prior to highlighting.
👍
We need a way of showing a fixed number of lines from either the head or the tail of a fail.
i.e.
rich foo.py --head 10
would show the first ten lines.Note that this needs to be done after the file has been highlighted. It's not enough to apply this to the file prior to highlighting.