feature request: pdk new function #1023
Unanswered
scotje
asked this question in
Feature Request
Replies: 2 comments
-
From @rodjek on April 4, 2018 23:21 Being tracked in JIRA |
Beta Was this translation helpful? Give feedback.
0 replies
-
I have been using my own generator for years. I would like to see the same thing in pdk. The only tricky bit is you need to parse the folder tree from the given name and also enforce a namespace. I would assume we can drop the v3. Example template is here: https://github.com/nwops/retrospec-templates/tree/master/functions, although retrospec produces a context to pass into this template.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
From @andrewm3 on March 8, 2018 22:25
While support for Puppet DSL items are quite good, it would be nice to have some Ruby templates e.g. the ability to create a new Ruby function using the modern API.
It would also be great to stub the rspec boilerplate for the function.
Copied from original issue: #450
Beta Was this translation helpful? Give feedback.
All reactions