MCPcopy 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
209func (s *IOStreams) SetPager(cmd string) {
210 s.pagerCommand = cmd
211}
212
213func (s *IOStreams) GetPager() string {
214 return s.pagerCommand

Callers 4

TestViewRunFunction · 0.80
TestListRunFunction · 0.80
TestIOStreams_pagerFunction · 0.80
newIOStreamsFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestViewRunFunction · 0.64
TestListRunFunction · 0.64
TestIOStreams_pagerFunction · 0.64