/usr/share/doc/python3-pyutilib/examples/workflow/driver2.py is in python3-pyutilib 5.3.5-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | import pyutilib.workflow
import tasks_yz
driver = pyutilib.workflow.TaskDriver(prog='myprog',
description='This is the description of this task driver',
epilog="""**********************
This is more text
that describes this command driver. Note
that the format of the epilog string is preserved in the
help
output!
**********************
""")
driver.register_task('TaskZ')
driver.register_task('TaskY')
print(driver.parse_args())
|