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

feat: Add output filename or dir to generate #198

Closed
wants to merge 8 commits into from

Conversation

rowan-gud
Copy link

From my preliminary understanding of the codebase this could be a potential solution to issue-197 . Please let me know what should be changed or done better!

@rowan-gud rowan-gud changed the title issue-197 -- feat: Add output filename or dir to generate feat: Add output filename or dir to generate Oct 2, 2023
Copy link
Owner

@a-h a-h left a comment

Choose a reason for hiding this comment

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

Let's continue a bit of discussion in #197!

cmd/templ/generatecmd/main.go Outdated Show resolved Hide resolved
cmd/templ/generatecmd/main.go Outdated Show resolved Hide resolved
cmd/templ/generatecmd/main.go Show resolved Hide resolved
cmd/templ/main.go Show resolved Hide resolved
cmd/templ/main.go Show resolved Hide resolved
@innazh
Copy link

innazh commented Feb 16, 2024

@rowan-gud , @a-h , any updates on moving through with this change?

@rowan-gud
Copy link
Author

Hi @a-h sorry I dropped off the face of the earth haha. It looks like a couple things happened, it looks like #628 addresses the underlying issue that I brought up of not being able to change the output of the generation.

It looks like based on the conversation in #735 we may still want the option to output to a file / directory as well.

I'm going to close this PR since I think it's pretty outdated at this point but I would be happy to work together with @jespert to come up with a solution for adding a -o flag!

@rowan-gud rowan-gud closed this Jun 5, 2024
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

3 participants