bobthecow/coda-cli — pull request #5 by brutuscat (2011-10-27 10:26:11+00:00)
Title: Added Go to line number option

Added Go to line number option using AppleScript as you do ;).

Currently it's done sending the shortcut's keystroke "shift+command+l" which is the default. Any idea how to do this if the shortcut is modified?

I did it so I can integrate ir with Ruby's Pry console edit-method command. The only real issue is that optparse doesn't allow single-char options, so the "standard" way of "go to line" of some editors (which is +LINE FILENAME) can't be done :S. So -l or --line then.