def docstring_parameter(*sub):
    """
    Inject variables into docstrings of functions.

    This is used in below main function to get the version and description
    of the package to the click help screen.
    """
    # decorator definition
    def dec(obj):
        obj.__doc__ = obj.__doc__.format(*sub)
        return obj

    return dec