present.pager¶
pager(contents, command=None)
¶
Display contents in the user's preferred pager.
Essentially equivalent to
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
contents |
str
|
String contents to display in their page |
required |
command |
list[str] | None
|
Override the default pager discovery with a given command to run. Defaults to None. |
None
|
Raises:
| Type | Description |
|---|---|
ArcError
|
if no pager can be found for the user |