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

Automatically pickup and update existing templates #9

Closed
fregante opened this issue Nov 8, 2020 · 0 comments · Fixed by #22
Closed

Automatically pickup and update existing templates #9

fregante opened this issue Nov 8, 2020 · 0 comments · Fixed by #22
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@fregante
Copy link
Owner

fregante commented Nov 8, 2020

Running $ ghat without any sources should cause any existing templates to be updated. The update command for each is included in full in the header of each file. I think it can just load every file, parse the command, deduplicate any commands (because a command can generate multiple files, and then run them in parallel by calling itself)

This would enable users to update the templates by just calling ghat, without specifying each one separately.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant