MCPcopy Index your code
hub / github.com/aws/aws-cli / get_pager_cmdline

Method get_pager_cmdline

awscli/help.py:133–139  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 }
132
133 def get_pager_cmdline(self):
134 pager = self.PAGER
135 if 'MANPAGER' in os.environ:
136 pager = os.environ['MANPAGER']
137 elif 'PAGER' in os.environ:
138 pager = os.environ['PAGER']
139 return shlex.split(pager)
140
141 def _send_output_to_destination(self, output):
142 self._send_output_to_pager(output)

Callers 9

_send_output_to_pagerMethod · 0.95
test_no_env_varsMethod · 0.80
test_manpagerMethod · 0.80
test_pagerMethod · 0.80
test_bothMethod · 0.80
test_pager_with_argsMethod · 0.80
_send_output_to_pagerMethod · 0.80

Calls

no outgoing calls

Tested by 7

test_no_env_varsMethod · 0.64
test_manpagerMethod · 0.64
test_pagerMethod · 0.64
test_bothMethod · 0.64
test_pager_with_argsMethod · 0.64