Sublime Forum

[REQUEST] Forward argument of build command to exec command

#1

Actually the build command take no arguments.
Is it possible to forward the arguments added to build command to the exec command (or the command from target).
So:

{ "keys": "shift+f7"], "command": "build", "args": {"task": "test"} }

call exec with a “task” : “test” argument in kwargs.

Thanks to think about it.

0 Likes

#2

And it would be nice if arguments with the same name as parameters in sublime-build file override them:

{ "keys": "shift+f7"], "command": "build", "args": {"working_dir": "d:"} }

use d: as working directory and not the one from the sublime-build file.

0 Likes

#3

i concur, it would be an awesome addition!

0 Likes