Skip to content

Release v0.2.0

Pre-release
Pre-release
Compare
Choose a tag to compare
@atc0005 atc0005 released this 26 Sep 18:53
1508ae8

Added

Documentation:

  • LICENSE file
  • CHANGELOG.md file
  • NOTICES.txt file
  • License header to all source files

Logging:

  • Apply leveled logging to better filter desired logging levels
  • Add (optional on Linux, unavailable on Windows) syslog logging support
  • Add optional log file support

Configuration options:

  • (optional) Ignore errors when removing files
  • (optional) Log format (text or json, defaults to text)
  • (optional) Log level (large list, mapped where possible to syslog logging
    levels)
  • (optional) Console output toggle (stdout or stderr)
  • (optional) Log file path (logging to a log file mutes console output)

Changed

  • Short flag names dropped
    • There are some issues with go-flags misdetecting leading dashes in file
      patterns as short flags, so instead of dealing with that right now I've
      opted to only support long flag names
    • go-flags only supports single letter short flags, and with the number of
      flags that we're using I decided to keep things simple for now and only
      use long flag names
  • The number of files to keep from match results is now a required flag

Removed

  • Feature: Short flag names
  • Package: integrii/flaggy
  • Package: r3labs/diff

References