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
incopy
andsearch
commands (Issue 122)- Option to import a
the-way
-style gist withthe-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.