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 more template functions #7

Open
mdreizin opened this issue Aug 12, 2016 · 0 comments
Open

feat: add more template functions #7

mdreizin opened this issue Aug 12, 2016 · 0 comments

Comments

@mdreizin
Copy link

mdreizin commented Aug 12, 2016

It would be nice to have ability use more templates function under PullFilePath.

One of possible solution is use sprig:

PullFilePath: '{{ .Dir }}/{{.Locale  | replace "-" "_" }}{{.Ext }}'

Also I have created sprig#16 about adding trimSuffix.

Truncate can be replaced with trunc.

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

No branches or pull requests

1 participant