Run sublime plugin from command line?

How can I run the sublime plugin from the command line?

I read subl --command , but it seems to be on osx and I'm on windows. http://www.sublimetext.com/docs/2/osx_command_line.html I don’t see anything to call the plugin, and the commands do not seem to work for sublime_text.exe

I am on Windows with sublime_text.exe

0
sublimetext2
source share
1 answer

Sublime Text plugins do not provide command line interfaces.

Many times, Sublime Text plugins wrap an external command (csslint, jshint, etc.) that runs as a subprocess with a plugin. Since your question does not indicate which plug-in you want to run, it is impossible to determine if this plug-in is based on an external program.

I would rather suggest you ask your question in the larger sense of "How to solve problem X from the command line," because it seems that you are approaching the problem from the wrong angle.

0
source share

All Articles