Go to file
2021-05-06 22:23:35 -07:00
.github/workflows Automatically create github releases 2021-04-29 23:34:01 -07:00
docs header attribute on the changelog class has been split into title and preamble 2021-05-06 22:23:35 -07:00
tests header attribute on the changelog class has been split into title and preamble 2021-05-06 22:23:35 -07:00
yaclog header attribute on the changelog class has been split into title and preamble 2021-05-06 22:23:35 -07:00
.gitignore Ignore .idea 2021-04-12 22:44:20 -07:00
CHANGELOG.md header attribute on the changelog class has been split into title and preamble 2021-05-06 22:23:35 -07:00
LICENSE.md Make license markdown 2021-04-12 22:43:09 -07:00
logo.png Add logo 2021-04-18 16:57:55 -07:00
pyproject.toml Use regex for parsing 2021-04-16 21:43:10 -07:00
README.md Bug fixes and readme 2021-04-24 02:58:59 -07:00
setup.cfg Add doc building dependencies 2021-05-05 02:45:17 -07:00

Yaclog

Yet another changelog command line tool

a yak who is a log

Logo by Erin Cassidy

Installation

Install and update using pip:

$ pip install -U yaclog

Usage

For usage from the command line, yaclog provides the yaclog command:

Usage: yaclog [OPTIONS] COMMAND [ARGS]...

  Manipulate markdown changelog files.

Options:
  --path FILE  Location of the changelog file.  [default: CHANGELOG.md]
  --version    Show the version and exit.
  --help       Show this message and exit.

Commands:
  entry    Add entries to the changelog.
  format   Reformat the changelog file.
  init     Create a new changelog file.
  release  Release versions.
  show     Show changes from the changelog file
  tag      Modify version tags

Example workflow

Create a new changelog:

$ yaclog init

Add some new entries to the "Added" section of the current unreleased version:

$ yaclog entry -b 'Introduced some more bugs'
$ yaclog entry -b 'Introduced some more features'

Show the current version:

$ yaclog show
Unreleased

- Introduced some more bugs
- Introduced some more features

Release the current version and make a git tag for it

$ yaclog release --version 0.0.1 -c
Renamed version "Unreleased" to "0.0.1".
Commit and create tag for version 0.0.1? [y/N]: y
Created commit a7b6789
Created tag "0.0.1".