-
Notifications
You must be signed in to change notification settings - Fork 95
Open
Description
The old pager functionality wasn't migrated to the new Python API in #3413.
All help pages should be paged e.g. cylc --help, cylc run --help, etc.
This may be slightly tricky now that the CLI has migrated away from Bash, the nice easy help | ${PAGER:-less} solution might not be an option any more.
subprocess.PIPEmight be one option.- Otherwise a pure-python pager implementation e.g. https://pypi.org/project/pager/ might work.
Using a native shell pager would be preferable so users can set their favorite pager in the conventional way.
Pull requests welcome!
Reactions are currently unavailable