Simple tool for building reusable, standardized directory structures.
dirtemplate [options] <dirname>
dirname
— a name of a root directory where the folder structure will be createdtemplate
— name (or path) to determine the template
npx @fedek6/dirtemplate new-project --template multimedia
Will create a directory structure determined in a built-in template called multimedia.json
.
If you want, you can use your own custom template. Simply use the path instead of a template name.
npx @fedek6/dirtemplate new-project --template ./custom.json
Multimedia template consists of directories:
- 3D-models
- brushes
- fonts
- inspirations
- palettes
- photos
- production
- snippets
- textures
- vectors
- videos
As you can see this is pretty good boilerplate for any website or game project.
This is template for starting simple webistes:
- content
- docs
- snippets
- production
- fonts
Templates are simply json
files:
{
"directory-1": "# Markdown description",
"directory-2": "# Markdown description"
}