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

Make delphin commands callable from Python #140

Closed
goodmami opened this issue May 23, 2018 · 0 comments
Closed

Make delphin commands callable from Python #140

goodmami opened this issue May 23, 2018 · 0 comments

Comments

@goodmami
Copy link
Member

Commands like delphin mkprof have features beyond what's available in the underlying library (e.g., delphin.itsdb in this case), but these commands are only easily callable from the command line, not Python. The functions in delphin.main should only interface the command line argument parser to a high-level function that implements the logic. This latter function could then be easily called from Python, as well.

These high-level functions could go in some delphin.commands module, or in their respective existing modules if the coupling is tight enough.

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

No branches or pull requests

1 participant