github out-of-cheese-error/the-way v0.16.0
v0.16.0 BREAKING!

latest releases: v0.20.3, v0.20.2, v0.20.1...
2 years ago

BREAKING RELEASE - Make sure to back up your snippets
PLEASE RUN the-way sync local AFTER UPDATE (or delete and recreate the Gist)

This is needed as the new Gist format has tags attached and running the-way sync date will get rid of all your tags.
Using the-way sync local or deleting and recreating the Gist will upload local snippets to synced gist with tags attached.
Subsequent syncing can then use the-way sync date.

Changed

  • the-way sync is now split into three different commands (Issue 125):
    • the-way sync date (old behavior, checks each snippet's updated date and uploads if newer than Gist updated date, downloads otherwise)
    • the-way sync local (uses local snippets as truth, needed after upgrading to this release in order to upload tags to Gist. Also useful if Gist gets messed up for some reason)
    • the-way sync gist (uses Gist snippets as truth, useful when syncing across computers)
  • Don't use ANSI color codes when terminal is not in tty mode (Issue 123)

Added

  • -s for --stdout in copy and search commands (Issue 122)
  • Option to import a the-way-style gist with the-way import -w <gist-url> (Issue 98)
  • Field copy_cmd in configuration file which allows user to change the default copy command.
    (Issue 110, Issue 76)
    In case of empty field value (empty string) the default command is used.
    (PR 118)
  • Enum error NoDefaultCopyCommand to represent the case where the OS copy
    command is not supported by default.

Don't miss a new the-way release

NewReleases is sending notifications on new releases.