rokucommunity / brighterscript

A superset of Roku's BrightScript language
MIT License
152 stars 47 forks source link

cli flag to disable bsconfig loading #369

Open TwitchBronBron opened 3 years ago

TwitchBronBron commented 3 years ago

Currently there's no obvious way to prevent the CLI from automatically loading a bsconfig.json in the cwd. There is a workaround by using the leading question mark (i.e. --project "?FileThatDoesNotExist.json"), but that's not ideal.

We should add --noproject flag to the CLI which will mean "don't load the bsconfig".

philanderson888 commented 11 months ago

Thanks for offering me to help on this one @TwitchBronBron ... do you want to give me some quick background tips on where to start on this one, could maybe do a quick call if you wish

TwitchBronBron commented 11 months ago

Sure! Here's a quick video explaining the places where this could be implemented.

https://youtu.be/Qbk2CXG0n20

philanderson888 commented 11 months ago

Hello @TwitchBronBron here is my initial pull request on the matter

https://github.com/rokucommunity/brighterscript/pull/868/files

thanks