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

Random template functions #27

Closed
technosophos opened this issue Feb 11, 2022 · 1 comment
Closed

Random template functions #27

technosophos opened this issue Feb 11, 2022 · 1 comment

Comments

@technosophos
Copy link
Collaborator

Per #25, implement the Sprig functions for Bartholomew. Rather than file an issue for each function, I figured I'd break these down into small batches. (Note: I am not entirely sure all of the functions can be done with the same syntax. I am no pro in writing the Handlebars functions.)

Extra warning: I don't know if I've ever tried using random functions within WASI.

  • rand_alpha Random from set [a-zA-Z]
  • rand_numeric Random from set [0-9]
  • rand_alphanum Random from set [a-zA-Z0-9]
karthik2804 added a commit to karthik2804/handlebars-sprig that referenced this issue Aug 5, 2022
karthik2804 added a commit to karthik2804/handlebars-sprig that referenced this issue Aug 5, 2022
@karthik2804
Copy link
Contributor

Closed by #133

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

2 participants