feat(cli): add Go module, subcommand dispatch, frontend registry

Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent)

Co-authored-by: Sisyphus <[email protected]>
This commit is contained in:
2026-08-19 16:27:51 -04:00
co-authored by Sisyphus
commit 57253f0523
6 changed files with 227 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
// Package binary converts Arch Linux binary packages (.pkg.tar.zst) into
// Zeta packages.
package binary
import (
"errors"
"git.spectoria.dev/huntedbytheirs/zeta-reconstruct/internal/registry"
)
// frontend implements registry.Frontend for Arch binary packages.
type frontend struct{}
func (frontend) Name() string { return "arch-binary" }
func (frontend) Convert(input string, opts registry.Options) error {
// Implemented in a later todo (.pkg.tar.zst -> tarball + package.lua).
return errors.New("not implemented")
}
func init() {
registry.Register(frontend{})
}