Clone in a terminal:
#! /usr/bin/env python

"""
Move the folder to /tmp for example and call
$ waf ping pong

The context objects 'ctx' are different instances
"""

def ping(ctx):
    print(' ping! %d' % id(ctx))

def pong(ctx):
    print(' pong! %d' % id(ctx))

Contact

Email: johan.mattsson.m@gmail.com
Mastodon: typo.social/@birdfont
GitHub: johanmattssonm
LinkedIn: johan-mattsson-2ab324112