Add a --no-launch flag (feature request)
I use jumpapp everyday, all the time, so first of all: thank you. I have a feature request related to the following use-case:
I use my short-cut key to jump to the gitk window when no such window exists, and get a message (from gitk that has just been launched) telling me that there is no .git directory. A better solution would be to do nothing. This could be achieved by using jumpapp --no-launch gitk.
Could this be added?
I decided to add this myself when I saw that it's already present in the source as N. It was added by the OP in this commit as part of PR #74.
So you can use like this:
$ jumpapp -N -t Toggl google-chrome
In this case, it's looking for a window with title Toggl. If it doesn't find it, it will output:
Not launching because the -N was given and no window was found for 'google-chrome'
So the thing that's left on this issue is mentioning N in the readme. :-)
@tylercollier Ah, good point, I missed that. Will you create a PR, or shall I do it?
You can, and then you get credit in the README too. Thanks for adding the feature!