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

Remove redundant 'elk train' command #83

Merged
merged 1 commit into from
Feb 18, 2023
Merged

Remove redundant 'elk train' command #83

merged 1 commit into from
Feb 18, 2023

Conversation

norabelrose
Copy link
Member

There's no context in which you would want to use elk train over elk elicit, and having the two commands around simply makes things more confusing.

@@ -1,6 +1,6 @@
"""Main entry point for `elk`."""

from .argparsers import get_extraction_parser, get_training_parser
from .argparsers import add_train_args, get_extraction_parser
Copy link
Collaborator

@lauritowal lauritowal Feb 17, 2023

Choose a reason for hiding this comment

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

we probably want to also rename add_train_args to add_elicit_args everywhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think it's fine right now because add_train_args does add the arguments relevant to training. Arguably that whole function could be deleted and moved over into __main__.py, but I think I like the current layout slightly better

@norabelrose norabelrose merged commit c79960e into main Feb 18, 2023
@norabelrose norabelrose deleted the remove-train branch February 18, 2023 09:58
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