0

Using commands from command line.

Максим Кот 5 years ago • updated 5 years ago 3

Imho it can be nice feature, if there will be ability to make in console something like this:

sublime_text <file name> [<file name>]  -c '<Command> <arg>[<arg>]' [<file name> [<file name>]  -c '<Command>']


Or there may be a way to run some script with python commands which can take args.

Like this :

sublime_text --script <file name> --script-arg <arg>[<arg>] [--script <file name> --script-arg <arg>[<arg>]]


Both of this features allow to make from sublime something like nice diff or/and merge tool, use it for automatic text processing and integrate it with some other products, such as IDE's may be .

+1

I'm quite sure there was a thread regarding this in the forum but I can't find it anymore.

Is it only one kind of support or me can report this feature on some bugtracker?