Metadata-Version: 2.4
Name: bcify
Version: 0.1.0
Summary: Generate Bytecraft .bc scaffolds from existing project repositories.
Author: Sourasish das
License: MIT
Keywords: bytecraft,scaffold,generator,cli
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: License :: OSI Approved :: MIT License
Classifier: Environment :: Console
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: dev
Requires-Dist: pytest>=8.0; extra == "dev"
Dynamic: license-file

# Bcify

`Bcify` turns an existing project repository into a Bytecraft `.bc` scaffold script.

It walks the repo, keeps probable text files, skips binary content, and emits a script
made of `make-folder` and `make-file` commands that can recreate the text scaffold.

## Install

```bash
pip install -e .
```

## Usage

```bash
bcify path/to/repo
bcify path/to/repo --output project.bc
bcify path/to/repo --root-name cloned-project --include-hidden
```

By default, `bcify`:

- writes `<repo-name>.bc` in the current working directory
- skips common generated or tool directories like `.git`, `node_modules`, `.venv`, and `dist`
- ignores files that do not look like text
- preserves empty text files

## Example

```bash
bcify ../my-app --output my-app.bc
```

Example output:

```text
# Generated by bcify from: ../my-app
set-working-folder "my-app"

make-folder "src"
make-file "README.md" with ---
# my-app
---
make-file "src/main.py" with ---
print("hello")
---
```
