Tree2File
A command-line tool to create directory structures from tree command output.
Installation
pip install tofile
Usage
- Run the command:
tofile
- Paste your tree structure. For example:
my_project/
├── src/
│ └── main.py
├── tests/
│ └── test_main.py
└── README.md
- Press Enter twice to finish input.
The tool will create the directory structure in your current working directory.
Features
- Creates directories and files from tree command output
- Validates input structure before creation
- Handles nested directories and files
- Simple command-line interface
- Two convenient commands: t2f or tree2file
License
MIT License
Release files for tofile 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tofile-0.1.0.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tofile-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / tofile-0.1.0.tar.gz
| Download URL | tofile-0.1.0.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc7238e7a0b711b96d217b8f2624159f90c79b385aefd5a576933a9aa74c01e9
|
|
BLAKE2b-256 checksum How to use checksums |
e181a8f0c239a89f8ba576aa936cd88fb111f79daf5335d60fd1b6ecd3617d6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.10
|
Release files / tofile-0.1.0-py3-none-any.whl
| Download URL | tofile-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2489a21955127be41d2c2fe6a76585c95cef4a16c7bd0403e1f6831c9aae1b7a
|
|
BLAKE2b-256 checksum How to use checksums |
8d6228f62cf69670dd761e9b611cb0e927ee9a6fd3c921faf1082e8a84ecd004
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.11.10
|