CLI tool to create directory and file structure from a text scheme
npm install create-fs-structurebash
Install globally
npm install -g create-structure
Or use with npx
npx create-structure scheme.txt ./my-project
`
Usage
`bash
Create structure from scheme.ts (or .txt) in current directory
create-structure
Specify scheme file and target directory
create-structure ./my-scheme.txt ./my-project
Dry run (show what would be created)
create-structure --dry-run scheme.txt ./my-project
Show help
create-structure --help
`
Scheme Format
`bash
Create a text (.ts or .txt) file with your desired structure:
text
├── components/
│ ├── Button/
│ │ ├── Button.tsx
│ │ └── index.ts
│ └── Header.tsx
├── utils/
│ └── helpers.ts
└── package.json
``