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

Command and Parser #34

Merged
merged 13 commits into from
Sep 29, 2019
Merged

Command and Parser #34

merged 13 commits into from
Sep 29, 2019

Conversation

Seris370
Copy link

@Seris370 Seris370 commented Sep 28, 2019

Closes #26 and #31 .

@Seris370 Seris370 changed the title Ych Command and Parser Sep 28, 2019
Copy link

@tiuweehan tiuweehan left a comment

Choose a reason for hiding this comment

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

Good job with refactoring the code, especially for the default values and regexes!

The only major issue is that it currently throws an error when the user omits optional prefixes, which can be easily fixed by first checking if the prefix exists and then using the default values if they don't.

Besides that, it would be good to use the existing constructors instead of creating new ones.

@tiuweehan
Copy link

Lastly do make sure that the checks are passing~

@le0tan le0tan added this to the v1.1 milestone Sep 28, 2019
@le0tan le0tan requested a review from tiuweehan September 29, 2019 08:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rewrite Parser and Command to include changes to model
4 participants