8000 Add prompt template support for artisan command by mrdth · Pull Request #11 · genericmilk/docudoodle · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add prompt template support for artisan command #11

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

Merged

Conversation

mrdth
Copy link
Contributor
@mrdth mrdth commented May 2, 2025

This PR enhances the Docudoodle artisan command with support for custom prompt templates, allowing users to more easily use their own documentation generation prompts.

Changes

  • Added prompt_template configuration option in config/docudoodle.php
  • Updated GenerateDocsCommand to accept a prompt template option
  • Enhanced README.md with documentation for the new template configuration
  • Improved configuration clarity in the .env file

Technical Details

  • The prompt template path can now be configured in the .env file
  • The GenerateDocsCommand defaults to using the configured template path
  • Added proper configuration validation and error handling

Documentation

  • Updated README.md with clear instructions for template configuration
  • Added inline documentation for new configuration options

Testing

  • Verify custom templates work as expected
  • Confirm default behavior remains unchanged when no custom template is specified
  • Test configuration validation

- Updated README.md to clarify the custom template path configuration in the .env file.
- Added 'prompt_template' configuration option in docudoodle.php to specify the path to the prompt template file.
- Modified GenerateDocsCommand to accept a prompt template option, defaulting to the configured path.
Copy link
Owner
@genericmilk genericmilk left a comment

Choose a reason for hiding this comment

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

Incredible as always homie!

@genericmilk genericmilk merged commit 977e2ab into genericmilk:main May 6, 2025
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
0