~gpanders/pushbroom

ac12c77af534e8c7996be05acd190ec6b80a9b1c — Greg Anders 2 years ago 9741b5d v0.1.2
Add CHANGELOG and command line flag to report version
4 files changed, 34 insertions(+), 1 deletions(-)

A CHANGELOG.md
M pyproject.toml
M src/pushbroom/__init__.py
M src/pushbroom/console.py
A CHANGELOG.md => CHANGELOG.md +25 -0
@@ 0,0 1,25 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.1.2] - 2019-06-18
### Added
- `CHANGELOG.md` to log changes
- Command line flag to print version information (`-V`)

## [0.1.1] - 2019-06-18
### Added
- `bin` directory containing an executable script

## [0.1.0] - 2019-06-18
- Initial Python release

[Unreleased]: https://github.com/gpanders/pushbroom/compare/v0.1.2...HEAD
[0.1.2]: https://github.com/gpanders/pushbroom/compare/v0.1.1...v0.1.2
[0.1.1]: https://github.com/gpanders/pushbroom/compare/v0.1.0...v0.1.1
[0.1.0]: https://github.com/gpanders/pushbroom/releases/tag/v0.1.0


M pyproject.toml => pyproject.toml +1 -1
@@ 1,6 1,6 @@
[tool.poetry]
name = "pushbroom"
version = "0.1.0"
version = "0.1.2"
description = "Clean up your filesystem"
authors = ["Greg Anders <greg@gpanders.com>"]
license = "MIT"

M src/pushbroom/__init__.py => src/pushbroom/__init__.py +2 -0
@@ 1,1 1,3 @@
__version__ = "v0.1.2"

from .sweep import sweep

M src/pushbroom/console.py => src/pushbroom/console.py +6 -0
@@ 14,6 14,12 @@ def run():
    parser.add_argument("-c", "--config", type=str, help="path to config file")
    parser.add_argument("-v", "--verbose", action="store_true", help="verbose output")
    parser.add_argument(
        "-V",
        "--version",
        action="version",
        version="%(prog)s {version}".format(version=pushbroom.__version__),
    )
    parser.add_argument(
        "-n",
        "--dry-run",
        action="store_true",