Commit Graph

5 Commits

Author SHA1 Message Date
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
765c98502c Add dependency download and CLI functionality
- Implement dependency download and extraction for Zig packages
- Create new CLI commands for downloading and converting ZON files
- Add support for downloading dependencies from ZON files
- Update project dependencies to include httpx and tqdm
- Add WTFPL license file
- Enhance README with more detailed usage instructions and project motivation
2025-03-07 17:59:32 +08:00
fd29f7e3af Enhance ZON parser to support tuples and update documentation
- Modify parser to handle ZON tuples (`.{ 1, 2, 3 }`) as arrays
- Update README with more detailed explanation of ZON tuple syntax
- Add multiple example ZON files demonstrating tuple usage
- Implement tuple parsing in `parser.py`
- Add test case for tuple parsing
2025-03-07 17:01:12 +08:00
807fcb2849 init 2025-03-07 16:42:22 +08:00
3404b6b7e0 init 2025-03-07 16:32:15 +08:00