We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I want to only ask for inputs if I don't already have them
const h = require('hygen/helpers') // <===== Error: Cannot find module 'hygen/helpers' module.exports = [ { type: 'input', name: 'dev_email', message: "Please enter your dev_email prior to the @ symbol, which Kubernetes doesn't allow in string fields:", skip: () => h.isLocal('dev_email') },
Of course that would mean that helpers had access to local variables defined within the hygen execution
const locals = require('hygen/locals') // <===== Error: Cannot find module 'hygen/locals' module.exports = { helpers: { isLocal: tag => !!locals[tag] } }
How to I access the execution space of the interpolater? It has all the data I need?
The text was updated successfully, but these errors were encountered:
this is mostly answered here: https://www.hygen.io/docs/generators#advanced-interactive-prompt
some additional details can be found here: #35 (comment)
my use case was satisfied, thanks for a great tool 👍
Sorry, something went wrong.
No branches or pull requests
I want to only ask for inputs if I don't already have them
Of course that would mean that helpers had access to local variables defined within the hygen execution
How to I access the execution space of the interpolater? It has all the data I need?
The text was updated successfully, but these errors were encountered: