Skip to content

feat(cli): expose sonic-boom options#665

Open
oleasteo wants to merge 1 commit into
pinojs:masterfrom
oleasteo:feat/cli-sonic-boom-options
Open

feat(cli): expose sonic-boom options#665
oleasteo wants to merge 1 commit into
pinojs:masterfrom
oleasteo:feat/cli-sonic-boom-options

Conversation

@oleasteo

Copy link
Copy Markdown

Resolves #664

Comment thread bin.js
let opts = minimist(process.argv, {
alias: {
// defaults to true (sonic-boom options default)
append: 'append',

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.

I don't think this is needed

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

True. They are not needed. However, I would prefer those for code quality reasons. I understand the call to minimist as a registration of possible program params. It's weird to me to have some params not being mentioned at all. The list would look incomplete to me here.
Your call, tho.

Comment thread bin.js
hideObject: 'H',
singleLine: 'S'
singleLine: 'S',
sync: 'sync'

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.

I don't think this is needed

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.

Undocumented option: --sync

2 participants