bchr02 / node-pre-gyp-github

A node-pre-gyp module which provides the ability to publish to GitHub releases.
MIT License
52 stars 32 forks source link

Fix command `publish`, add storing of options as properties #43

Closed dmvict closed 2 years ago

dmvict commented 2 years ago

The command does not parse options correctly. Actually, it reads no options.

The official documentation of module comander.js says that to parse options as properties the call .storeOptionsAsProperties() is required

Also, at least one way more exists to fix the behavior. See the second example https://github.com/tj/commander.js#action-handler.