Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/cli/cli
/ GetPager
Method
GetPager
pkg/iostreams/iostreams.go:201–203 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
199
}
200
201
func
(s *IOStreams) GetPager() string {
202
return
s.pagerCommand
203
}
204
205
func
(s *IOStreams) StartPager() error {
206
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