def get_rename_types(ctx, args, incomplete):
    """Function to return all rename types matching the prefix."""
    for cur_type in "project", "tag":
        if cur_type.startswith(incomplete):
            yield cur_type
Function to return all rename types matching the prefix.
watson/autocompletion.py