sourcejs/Source
Ver no GitHubAdd Ability to pass SourceJS CLI options via object
Open
#243 aberto em 20 de dez. de 2016
good first contributionhelp wantedimprovement
Description
#241 added the ability to use NodeJS's require to load SourceJS as part of a NodeJS script.
This issue will need to add the ability to pass in the SourceJS CLI options via plain object to the startServer method.
It should follow the same inheritance/override pattern as the current CLI ability.
- Load Options via Options file
- Load Options via CLI
- Load Options via Options object
- Override using process.env