def credentials(text):
    """
    A special argument type that partitions a string on a ':' and
    returns a tuple.  This can be used to specify a username and
    password.
    """
    username, _sep, password = text.partition(':')
    return username, password
