MCPcopy
hub / github.com/cli/cli / SetPager

Method SetPager

pkg/iostreams/iostreams.go:197–199  ·  view source on GitHub ↗
(cmd string)

Source from the content-addressed store, hash-verified

195}
196
197func (s *IOStreams) SetPager(cmd string) {
198 s.pagerCommand = cmd
199}
200
201func (s *IOStreams) GetPager() string {
202 return s.pagerCommand

Callers 2

TestIOStreams_pagerFunction · 0.80
newIOStreamsFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestIOStreams_pagerFunction · 0.64