File and directory names
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 34
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Hello! 👋
Could generify be used to replace the names of directories and files in a template as well? Something along the lines of:
given template:
template
|-@foo@
|-bar.js // console.log('__bar__')
|-@baz@.js // console.log('__baz__')
and data:
const data: {
foo: 'hello',
bar: 'world',
baz: 'renamed'
}
output:
foo
|-bar.js // console.log('world')
|-renamed.js // console.log('renamed')
Thanks 😄
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files or tests are named in the issue. Start by locating the template traversal and substitution entry points, then compare their current handling of file contents with the supplied template and data examples. Done means placeholders can rename files and directories as well as substitute content, while preserving the demonstrated output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100