Files
zig-fetch-py/zig_fetch_py/__init__.py
crosstyan 09cbad23d6 Refactor CLI and consolidate ZON conversion functionality
- Move `zon2json` command from `main.py` to `__main__.py`
- Create shared `convert_zon_to_json` function for consistent JSON conversion
- Update pyproject.toml to point `zon2json` script to new location
- Update README with `uv run` prefix for CLI commands
- Expose key functions in `__init__.py` for easier importing
- Remove redundant `main.py` file
2025-03-07 18:18:26 +08:00

11 lines
339 B
Python

"""
zig-fetch-py - A tool to parse Zig Object Notation (ZON) files and convert them to JSON.
"""
__version__ = "0.1.0"
from zig_fetch_py.parser import parse_zon_file, zon_to_json
from zig_fetch_py.downloader import process_dependencies, get_cache_dir
__all__ = ["parse_zon_file", "zon_to_json", "process_dependencies", "get_cache_dir"]