Skip to content

Used commander's .opts() to parse raw argv #672

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

Merged
merged 1 commit into from
Aug 9, 2020
Merged

Conversation

JoshuaKGoldberg
Copy link
Member

PR Checklist

Overview

As of either the latest Node version or latest commander version (I haven't checked but suspect commander), member variables such as .prettier aren't being set on the command object. They're now available on .opts().

@JoshuaKGoldberg JoshuaKGoldberg added the status: waiting for reviewer Waiting for a maintainer to review label Aug 8, 2020
@KingDarBoja
Copy link
Collaborator

Yeah, I updated to latest version since renovate bot bumped it and had issues due to breaking changes. Didn't expect the parse method to require the opts call too D:

@JoshuaKGoldberg JoshuaKGoldberg merged commit 809f46b into master Aug 9, 2020
@JoshuaKGoldberg JoshuaKGoldberg deleted the commander-opts branch August 9, 2020 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: waiting for reviewer Waiting for a maintainer to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CLI Flags do not work for nodejs 14
2 participants