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

Fix #42 — Make it easy to specify custom templates by name #50

Merged
merged 5 commits into from
Nov 4, 2015

Conversation

AliSoftware
Copy link
Collaborator

This PR should fix #42.

Here's the current progress:

  • Rename the --template option --templatePath to avoid confusion
  • Make -t take a simple name now (defaulting to default), and use that name
  • Manage case when -p and -t are specified together
  • Make it look for templates into Application Support
  • Create the template subcommand that lists available templates
  • Create a Templates.md file that explains:
    • how templates work (link to Stencil doc)
    • the filters and nodes specific to SwiftGen (the ones not in Stencil core)
    • how to customize templates (where to save them, etc)

AliSoftware added a commit that referenced this pull request Nov 4, 2015
Fix #42 — Make it easy to specify custom templates by name
@AliSoftware AliSoftware merged commit b5adc94 into master Nov 4, 2015
@AliSoftware AliSoftware deleted the template-by-name-42 branch November 4, 2015 15:26
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.

Store custom templates in ApplicationSupport
1 participant