The Way Versions Save

A code snippets manager for your terminal.

v0.16.1

2 years ago

Added

  • --colorize flag to force colorization even in non-tty environments.

v0.16.0

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.

v0.15.0

2 years ago

Added

  • Search in code as well as description/tags (Issue 115)
  • -e/--exact option for search that toggles exact search

Changed

  • Prompt user to open snippet in editor when editing existing snippet. (Issue #104)
  • Updated dependencies

v0.14.4

2 years ago

Fixed

  • .deb package extended description

v0.14.3

2 years ago
  • Highlight parameters in shell snippets (Issue #75)
  • Make .deb with CD
  • Updated dependencies

v0.14.2

2 years ago

v0.14.1

2 years ago
  • Updated indicatif dependency
  • Switched from Travis CI to Github Actions

v0.14.0

2 years ago
  • Newline-delimited JSON as export format
  • Updated dependencies
  • Added termux-clipboard-set as copy command for Android (Issue #93)
  • --stdout prints to stdout without copying

v0.13.0

3 years ago

Added

--stdout flag to copy and search (Issue #93)

Changed

  • Updated dependencies (except directories-next)
  • Updated ureq code to v2

v0.12.1

3 years ago

Fixed

Regex for matching <param> and <param=value> failed when multiple > were present (Issue #91)