Skip to main content

Yet another changelog CLI tool.

Project description

Yaclog: Yet Another Commandline Changelog Tool

Documentation Status build PyPI version

Yaclog is a python library and command line tool to make it easier to keep track of changes to your projects. It includes commands for appending new changes to a markdown changelog file, as well as releasing new versions for deployment via git tags.

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 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".

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yaclog-1.5.1.tar.gz (87.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yaclog-1.5.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

Details for the file yaclog-1.5.1.tar.gz.

File metadata

  • Download URL: yaclog-1.5.1.tar.gz
  • Upload date:
  • Size: 87.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yaclog-1.5.1.tar.gz
Algorithm Hash digest
SHA256 bd3b6730ef022e54b0c93da0e1cd2b266b1e2b20f2595141f5fd81c2c8c06030
MD5 59d81eb72a6ab585490e6476b7ec19e1
BLAKE2b-256 2ead78d3c0d6c163cacf337ea2c1971e3f7a9faf27024a14420d85ddd21f76b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaclog-1.5.1.tar.gz:

Publisher: build.yml on drewcassidy/yaclog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file yaclog-1.5.1-py3-none-any.whl.

File metadata

  • Download URL: yaclog-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 20.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for yaclog-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 acb74eb77499fc989f43638e308b746f9ad925699af9f1b56ee7e01e7db8f422
MD5 c6a037469667bc10caf0e4d4d59e23df
BLAKE2b-256 b268955996d79bd9dc8f62f361b0e6be9471c13a4f4d5016a85650a0f4d478e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for yaclog-1.5.1-py3-none-any.whl:

Publisher: build.yml on drewcassidy/yaclog

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page