Comments (2)
You could use the Shell Execution feature as follows:
---
sh: cd <%= cwd %>/path/to/to/parent && mkdir <%= folderName %>
---
Which seems like a exploit-ish approach to me, but it does the job I guess.
from hygen.
it works thanks
from hygen.
Related Issues (20)
- Generate generator based on a git diff
- Replace/fork enquirer? HOT 4
- Can I use `hygen` to get the string output only?
- [Bug] `inject` fails silently when `after` or `before` match nothing
- External packages installed locally what if there is a new version?
- Project with type Modules skips prompt HOT 2
- New install doesn't load templates from `_templates` HOT 5
- How do I access Helpers from Prompts? HOT 1
- Re-apply fix for chalk template
- How to ignore template directories?
- Could I have some order about when each template should be executed?
- [Question] Is hygen only for JS or is it language agnostic HOT 2
- [Docs] www.hygen.io does not redirect HTTP --> HTTPS
- SSL for Homepage in Docs
- Inject multiple node dependencies within one template, each with dedicated skip_if's HOT 1
- pnpm HOT 2
- Issues triage question -- still under development? HOT 1
- Skip some or all prompts according to variables defined in template file?
- Hygen parsing templates not in the specified folder path HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hygen.