Skip to content

Commit

Permalink
Improve event handler doc (#6124)
Browse files Browse the repository at this point in the history
  • Loading branch information
MetRonnie committed Jun 11, 2024
1 parent 98dc86a commit 8690b03
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cylc/flow/cfgspec/workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,9 +413,10 @@ def get_script_common_text(this: str, example: Optional[str] = None):
{item} = echo %(workflow)s
# configure multiple event handlers
# (which will run in parallel)
{item} = \\
'echo %(workflow)s, %(event)s', \\
'my_exe %(event)s %(message)s' \\
'echo %(workflow)s %(event)s', \\
'my_exe %(event)s %(message)s', \\
'curl -X PUT -d event=%(event)s host:port'
''')
elif item.startswith("abort on"):
Expand Down

0 comments on commit 8690b03

Please sign in to comment.