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

Add public reset method to enable multiple calls to parse. #499

Closed
wants to merge 1 commit into from

Conversation

lukeasrodgers
Copy link

This makes it easier to unit test code that runs commander.

Addresses #438

I don't have tons of experience with commander.js so this approach may not work for all cases.

This makes it easier to unit test code that runs commander.
@rarkins
Copy link

rarkins commented Jan 19, 2017

This would definitely be helpful

@roman-vanesyan
Copy link
Collaborator

Unnecessary, a new command can be instantiated by using new Commander()

@roman-vanesyan
Copy link
Collaborator

Commander itself (main function) is an instance of Commander object.

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

4 participants