yaclog/yaclog/__init__.py

12 lines
269 B
Python
Raw Normal View History

2021-04-17 04:43:10 +00:00
import os
from yaclog.changelog import Changelog
def read(path: os.PathLike):
"""
Create a new Changelog object from the given path
:param path: a path to a markdown changelog file
:return: a parsed Changelog object
"""
return Changelog(path)