nicosantangelo / sublime-gulp

Run Gulp tasks and use snippets from Sublime Text
https://sublime-gulp.nicosantangelo.com/
MIT License
155 stars 18 forks source link

Run Arbitrary Flag (E.g., gulp --production) #77

Open mkormendy opened 7 years ago

mkormendy commented 7 years ago

Issue title pretty much says all I am requesting. Would love to be able to use my environment variables instead. I have a bunch:

gulp --production gulp --staging gulp --staging --force-all

gulp --whatever

Etc.

Can you loosen the pre-packaged "Run Arbitrary Task" command to simply "Run Arbitrary Command" or "Run Arbitrary Task/Flag" and allow flags in that as well?

nicosantangelo commented 7 years ago

Hi!

You mean picking up flags on the settings file for commands on Run Arbitrary Task?

(if I understood correctly) it's not a bad idea! the problem is that there's a lot of people using the package already and that type of change could get me a lot of hate :P. But, I like the idea of adding a Run Arbitrary Command (leaving Run Arbitrary Task be).

Let me think about it a bit more, I'm quite busy at the moment but I'll get to it as soon as I get some time.

Thanks!

mkormendy commented 7 years ago

No problem, I've also followed your steps to creating a custom item in the Tools menu for the time being which works nicely as well for specific tasks with flags that I've created.

On Wed, Jan 4, 2017 at 10:30 AM, Nicolás Santángelo < notifications@github.com> wrote:

Hi!

You mean picking up flags on the settings file for commands on Run Arbitrary Task?

(if I understood correctly) it's not a bad idea! the problem is that there's a lot of people using the package already and that type of change could get me a lot of hate :P. But, I like the idea of adding a Run Arbitrary Command (leaving Run Arbitrary Task be).

Let me think about it a bit more, I'm quite busy at the moment but I'll get to it as soon as I get some time.

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NicoSantangelo/sublime-gulp/issues/77#issuecomment-270415829, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXv4_IKGj36_KnicNyclDtQF09wLkgFks5rO8lBgaJpZM4LZWc_ .