New template REPL command #1169
RhetTbull
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In osxphotos v0.62.2 I've added a new
osxphotos template
command which adds an interactive REPL for experimenting with templates. In my opinion the template system is one of the best features of osxphotos as it gives you full control over the output metadata and file naming. However, it can be difficult to use as the syntax is very terse. I've long wanted an easier way to test and debug templates before using them in other commands so I finally built such a tool. If you launchosxphotos template
you'll get an interactive read/eval/print/loop (REPL) which lets you type in a template then see the results rendered for the photo currently selected in Photos. The REPL supports tab completion, built in help, and both vim and emacs keybindings. I hope you find it useful!Here's a screencast showing what it can do at terminalizer
Beta Was this translation helpful? Give feedback.
All reactions