Enable pager for repo list output
This commit is contained in:
parent
2bdffc85e2
commit
f75144dd1f
1 changed files with 5 additions and 0 deletions
|
|
@ -104,6 +104,11 @@ func listRun(opts *ListOptions) error {
|
|||
return err
|
||||
}
|
||||
|
||||
if err := opts.IO.StartPager(); err != nil {
|
||||
fmt.Fprintf(opts.IO.ErrOut, "error starting pager: %v\n", err)
|
||||
}
|
||||
defer opts.IO.StopPager()
|
||||
|
||||
cs := opts.IO.ColorScheme()
|
||||
tp := utils.NewTablePrinter(opts.IO)
|
||||
now := opts.Now()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue