Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ SetPager
Method
SetPager
pkg/iostreams/iostreams.go:209–211 ·
view source on GitHub ↗
(cmd string)
Source
from the content-addressed store, hash-verified
207
}
208
209
func
(s *IOStreams) SetPager(cmd string) {
210
s.pagerCommand = cmd
211
}
212
213
func
(s *IOStreams) GetPager() string {
214
return
s.pagerCommand
Callers
4
TestViewRun
Function · 0.80
TestListRun
Function · 0.80
TestIOStreams_pager
Function · 0.80
newIOStreams
Function · 0.80
Calls
no outgoing calls
Tested by
3
TestViewRun
Function · 0.64
TestListRun
Function · 0.64
TestIOStreams_pager
Function · 0.64