MCPcopy Create free account
hub / github.com/cli/cli / GetPager

Method GetPager

pkg/iostreams/iostreams.go:213–215  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

211}
212
213func (s *IOStreams) GetPager() string {
214 return s.pagerCommand
215}
216
217func (s *IOStreams) StartPager() error {
218 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