create-fs-structure
v1.0.0
Published
CLI tool to create directory and file structure from a text scheme
Maintainers
Readme
Create Structure
CLI tool to create directory and file structure from a text scheme.
Installation
# Install globally
npm install -g create-structure
# Or use with npx
npx create-structure scheme.txt ./my-projectUsage
# 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 --helpScheme Format
# 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