Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(cli): allow argv to be overridden in bootstrap #621

Merged
merged 1 commit into from Apr 19, 2019
Merged

fix(cli): allow argv to be overridden in bootstrap #621

merged 1 commit into from Apr 19, 2019

Conversation

fastfrwrd
Copy link
Contributor

why: in case a consumer's CLI has extra arguments, allowing argv to be overridden without mutating the process.argv array directly would be useful.

In our application, we're manually maniuplating process.argv using methods like Array.prototype.splice to get around this, but we would definitely prefer to do this immutably instead and pass our final argv to you this way.

in case a consumer's CLI has extra arguments, allowing argv to be overridden without mutating the
process.argv array directly would be useful.
@jimthedev jimthedev merged commit f7982d3 into commitizen:master Apr 19, 2019
@jimthedev
Copy link
Member

Looks good. Thanks.

@fastfrwrd fastfrwrd deleted the argv-in-bootstrap branch April 19, 2019 16:17
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.

None yet

2 participants