wagoodman / bashful

Use a yaml file to stitch together commands and bash snippits and run them with a bit of style. Why? Because your bash script should be quiet and shy-like (...and not such a loud mouth).
MIT License
1.15k stars 47 forks source link

Max parallel should be configurable via command line flag #40

Open uded opened 6 years ago

uded commented 6 years ago

Taking into consideration the purpose of max-parallel-commands it should be possible to override the value via a flag. In my case, depending on whether it's my laptop or CI server I might want to limit or raise the number of parallel executions to match my environment better. Having it in the file is not as flexible as I would expect...

wagoodman commented 6 years ago

Agreed. I've been contemplating a generic way to override any config option via cli switches without having to explicitly map each cli arg to each config item. I'm open to suggestions.

uded commented 6 years ago

OK, I will take a look tomorrow and maybe come up with a simple, elegant solution. Fingers crossed ;-)