Metadata-Version: 2.1
Name: slimebones-autofiles
Version: 0.1.2
Summary: 
Author: ryzhovalex
Author-email: thed4rkof@gmail.com
Requires-Python: >=3.11,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Requires-Dist: slimebones-pykit (>=0.4.14,<0.5.0)
Description-Content-Type: text/markdown

# autofiles

Does file generation.

## Usage

### Generation

To generate a file:

```python
from auto import AutoUtils

AutoUtils.generate(
    name="testing",
    extension=FileExtension.Python,
    author="testco",
    dir=Path(Path.cwd(), "var"),
    content="print(1 + 1)\n",
)
```

Which will result in a file with content like this:

```python
"""
Do not modify, auto-generated by testco
"""

print(1 + 1)
```

### Cleaning

To clean all auto-generated file in given directory, call:

```python
autofiles clean .
```

