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 getTemplateFile and generateTemplateFile functions #2

Merged
merged 3 commits into from
Sep 19, 2018

Conversation

fmvilas
Copy link
Member

@fmvilas fmvilas commented Sep 1, 2018

What?

It adds:

  • getTemplateFile() — A function to get the raw content of a file in a given template.
  • generateTemplateFile() — A function to generate a file in a given template, and return it as a string.
  • Documentation on how to use it.

Why?

We need to be able to programmatically use this module in the editor.

@fmvilas fmvilas changed the title Add getTemplateFile and generateTemplateFile functions [WIP] Add getTemplateFile and generateTemplateFile functions Sep 1, 2018
@fmvilas fmvilas force-pushed the feature/add-api-for-module branch from ecb5b3e to a26825d Compare September 2, 2018 18:09
@fmvilas fmvilas changed the title [WIP] Add getTemplateFile and generateTemplateFile functions Add getTemplateFile and generateTemplateFile functions Sep 2, 2018
Copy link

@mattheworiordan mattheworiordan left a comment

Choose a reason for hiding this comment

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

LGTM 👍

@fmvilas fmvilas merged commit 6ddde10 into develop Sep 19, 2018
@fmvilas fmvilas deleted the feature/add-api-for-module branch September 19, 2018 13:39
@fmvilas fmvilas restored the feature/add-api-for-module branch September 19, 2018 13:45
@derberg derberg deleted the feature/add-api-for-module branch March 9, 2020 13:47
derberg referenced this pull request in derberg/generator Jan 17, 2024
AdityaP700 added a commit to AdityaP700/generator that referenced this pull request Jan 25, 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