File: driver2.py

package info (click to toggle)
pyutilib 6.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,924 kB
  • sloc: python: 18,448; xml: 135; perl: 75; makefile: 50; sh: 32
file content (18 lines) | stat: -rw-r--r-- 440 bytes parent folder | download | duplicates (3)
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())