Skip to content

use a new library to parse command line args - #233

Merged
psvenk merged 7 commits into
Aspine:masterfrom
notrodes:master
Dec 27, 2020
Merged

psvenk merged 7 commits into
Aspine:masterfrom
notrodes:master

Conversation

@notrodes

Copy link
Copy Markdown
Collaborator

also some minor cleaning

@psvenk psvenk left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Additional changes which I cannot put as inline comments (because GitHub won't let me comment on lines of code that were not changed):

  • npm install commander and commit package.json and package-lock.json.
  • minimist is no longer needed, so the require('minimist') can be removed and we can also npm uninstall minimist.
  • The variables privateKey, certificate, and ca are not needed and can be folded into the object literal for credentials.
  • The version number should come dynamically from package.json.

Comment thread serve.js Resolved
Comment thread serve.js Resolved
Comment thread serve.js Resolved
Comment thread serve.js Resolved
Comment thread serve.js Resolved
Comment thread serve.js Resolved
@psvenk psvenk added this to the 2.7.0 milestone Dec 26, 2020
@psvenk
psvenk merged commit 6a60b05 into Aspine:master Dec 27, 2020
@psvenk psvenk mentioned this pull request Dec 27, 2020
7 tasks done
psvenk added a commit that referenced this pull request Jan 3, 2021
Following the changes to the CLI in pull request #233 ("use a new
library to parse command line args"), bring back the start.sh script to
minimize confusion.
psvenk added a commit that referenced this pull request Jan 5, 2021
Following the changes to the CLI in pull request #233 ("use a new
library to parse command line args"), keep HTTPS enabled by default on
production while disabling it by default on development, so that
developers can simply run `npm start` instead of `npm start -- -i`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants