sourcejs/Source

Add Ability to pass SourceJS CLI options via object

Open

#243 建立於 2016年12月20日

在 GitHub 查看
 (5 留言) (0 反應) (0 負責人)JavaScript (49 fork)batch import
good first contributionhelp wantedimprovement

倉庫指標

Star
 (552 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

#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.

  1. Load Options via Options file
  2. Load Options via CLI
  3. Load Options via Options object
  4. Override using process.env

貢獻者指南