Skip to content

sean-stapleton-doyle/clog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clog

A pest-based parser for Keep a Changelog formatted CHANGELOG.md files. See changelog.pest for the grammar.

Binary

The project includes a binary driver to parse a CHANGELOG file and print its debug-formatted structure. See TODOs for why I am doing this.

Usage

cargo run -- <path/to/CHANGELOG.md>

Library

The core logic is available as a library.

  • clog::models: Defines the core data structures (e.g., Changelog, VersionEntry, ChangeType).
  • clog::parser::parse_changelog: The main function, which takes a string slice (&str) and returns a Result<Changelog, ...>.

TODO

  • Add CLI for validating and updating changelogs.
  • Split changelog parsing to its own, separate library.

About

A pest-based parser for Keep a Changelog formatted CHANGELOG.md files.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages