Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ GetPager
Method
GetPager
pkg/iostreams/iostreams.go:212–214 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
210
}
211
212
func
(s *IOStreams) GetPager() string {
213
return
s.pagerCommand
214
}
215
216
func
(s *IOStreams) StartPager() error {
217
if
s.pagerCommand ==
""
|| s.pagerCommand ==
"cat"
|| !s.IsStdoutTTY() {
Callers
1
Test_newIOStreams_pager
Function · 0.80
Calls
no outgoing calls
Tested by
1
Test_newIOStreams_pager
Function · 0.64