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 generate_comments command #460

Open
Dirakon opened this issue Feb 14, 2025 · 0 comments
Open

add generate_comments command #460

Dirakon opened this issue Feb 14, 2025 · 0 comments

Comments

@Dirakon
Copy link

Dirakon commented Feb 14, 2025

eoc generate_comments would look for all comment placeholders in the code (like # <COMMENT-TO-BE-ADDED>) and use LLM to replace them with proper comments.

Proposed cli interface would look like this:

eoc generate_comments\
  --provider=ollama\
  --source=app.eo\
  --comment_placeholder="<COMMENT-TO-BE-ADDED>"\
  --output=out.json\
  --prompt_template=prompt_template.txt

Additionally, some provider-specific command line arguments would also be present.

The output file would contain the corresponding comment for each placeholder.

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