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 explicit note to only call parse once #2036

Merged
merged 1 commit into from
Oct 16, 2023
Merged

Conversation

shadowspawn
Copy link
Collaborator

Pull Request

Problem

Commander does not reset state when .parse() is called. I don't consider this as a bug as starting afresh with a new program/Command is simple and robust. But we haven't explicitly stated this is the expected model.

See: #438 #1565 #1819 #1829 #1916

Solution

Add a note to README. Will still catch some people out, but at least it is documented!

Copy link
Collaborator

@abetomo abetomo left a comment

Choose a reason for hiding this comment

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

+1

@shadowspawn shadowspawn merged commit e56e9d0 into develop Oct 16, 2023
20 checks passed
@shadowspawn shadowspawn deleted the feature/parse-once branch October 16, 2023 08:00
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.

2 participants