Metadata-Version: 2.4
Name: imansur-tools
Version: 0.2.1
Summary: Directory and file tree creator from string or YAML
Author-email: Ilker Mansur <your-email@example.com>
Project-URL: Homepage, https://github.com/yourusername/imansur-tools
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: PyYAML>=6.0

# imansur-tools

A professional utility to build directory structures and files from indentation patterns or YAML files.

## Features
- **Smart Routing:** Automatically distinguishes between files and directories.
- **Target Destination:** Specify exactly where you want your tree to be built.
- **Special Files Support:** Recognizes `Dockerfile`, `LICENSE`, `README`, etc.
- **Multi-format:** Supports both Indented Strings and YAML files.

## Installation

```bash
pip install imansur-tools
```

## Usage

### 1. Specify Output Directory
You can define where the tree should be created by providing the `output_dir` parameter. If omitted, it defaults to the current directory (`.`).

```python
from imansur_tools import build_tree

# This will create the structure inside '/Users/ilkermansur/proyectos/new_app'
build_tree("structure.yaml", output_dir="/Users/name/projects/my_app", is_yaml=True)
```

### 2. From Indented String (Default Directory)
```python
from imansur_tools import build_tree

structure = """
project/
  src/
    main.py
  README
"""

# Will be created in the current working directory
build_tree(structure)
```

## License
MIT
