Skip to content

Add --check option to fmt #71

@rcmachado

Description

@rcmachado

The fmt command formats and normalizes the changelog file.

But to check if the file is formatted correctly, we need to run something similar to:

diff -u <(changelog fmt -f CHANGELOG.md) CHANGELOG.md

We can simplify this code to:

changelog fmt --check

Which is useful specially for CI environments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions