Skip to content

fedek6/dirtemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

dirtemplate

Simple tool for building reusable, standardized directory structures.

Usage:

dirtemplate [options] <dirname>
  • dirname — a name of a root directory where the folder structure will be created
  • template — name (or path) to determine the template

Examples

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

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.

Simple website template

This is template for starting simple webistes:

  • content
  • docs
  • snippets
  • production
  • fonts

How to add custom template?

Templates are simply json files:

{
  "directory-1": "# Markdown description",
  "directory-2": "# Markdown description"
}

About

A tool to quickly generate directory templates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published