Closed patrickdavey closed 7 years ago
Looks like a good improvement. Thanks!
Thanks @samg glad you like it. Would it be possible to get a new version of the gem released with it (or what's the best way to pull it in, locally I've just generated the gem myself)
At the moment, if you're using the note_editor functionality, if you try to edit an old note by it's id (e.g.
t edit --id 76
) then no editor will be launched.This PR makes it so that you can edit a note by it's ID and it will launch an editor. It will only launch the external editor if you are either running an empty command
t edit
or when you're launching the edit against an id (t edit --id 76
), this means that if you're editing thestart
time for example, that the external editor will not be launched, which is the existing behaviour and probably what's the best default.