https://github.com/openscript/pkgbuild-editor
Your all-in-one code-based parser and editor for seamless PKGBUILD file handling.
https://github.com/openscript/pkgbuild-editor
Last synced: 11 months ago
JSON representation
Your all-in-one code-based parser and editor for seamless PKGBUILD file handling.
- Host: GitHub
- URL: https://github.com/openscript/pkgbuild-editor
- Owner: openscript
- License: mit
- Created: 2024-11-09T03:02:32.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-17T16:19:19.000Z (about 1 year ago)
- Last Synced: 2025-03-01T02:17:13.566Z (11 months ago)
- Language: TypeScript
- Homepage:
- Size: 270 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pkgbuild-editor
Your all-in-one code-based parser and editor for seamless [PKGBUILD](https://wiki.archlinux.org/title/PKGBUILD) file handling.
## About
When managing the Arch User Repository (AUR), precise control over `PKGBUILD` files from code is essential, when you want to automate things. `pkgbuild-editor` provides a powerful parser and editor, transforming `PKGBUILD` handling into a streamlined experience. Instead of relying on regular expressions, this tool leverages an Concrete Syntax Tree (CST) to offer a deeper, more reliable understanding of `PKGBUILD` files. Whether you're automating updates, modifying dependencies, or simply tweaking build instructions, `pkgbuild-editor` gives you a structured approach for efficient and error-free edits.
## Features
- [ ] Parse `PKGBUILD` files
- [ ] Edit `PKGBUILD` files
- [ ] Create new `PKGBUILD` files from scratch
- [ ] Write `PKGBUILD` files
- [ ] Preserve comments and formatting, when parsed
## Packages
- [`pkgbuild-editor`](./packages/pkgbuild-editor/): Core package