MCPcopy 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
201func (s *IOStreams) GetPager() string {
202 return s.pagerCommand
203}
204
205func (s *IOStreams) StartPager() error {
206 if s.pagerCommand == "" || s.pagerCommand == "cat" || !s.IsStdoutTTY() {

Callers 1

Test_newIOStreams_pagerFunction · 0.80

Calls

no outgoing calls

Tested by 1

Test_newIOStreams_pagerFunction · 0.64