Replace Bash qvm scripts with Go CLI implementation

This commit is contained in:
Joshua Bell 2026-01-26 20:48:32 -06:00
parent ffb456707f
commit 2a6a333721
27 changed files with 2551 additions and 1702 deletions

View file

@ -522,12 +522,13 @@ $(pwd) ──9p──→ /workspace/{hash}/
## Contributing
Contributions welcome! This is a simple Bash-based tool designed to be readable and hackable.
Contributions welcome! This is a Go CLI tool designed to be readable and maintainable.
**Key files:**
- `bin/qvm` - Main dispatcher
- `bin/qvm-*` - Subcommand implementations
- `lib/common.sh` - Shared utilities and paths
- `cmd/qvm/` - CLI command implementations (Cobra)
- `internal/vm/` - VM lifecycle and QEMU management
- `internal/workspace/` - Workspace registration and mounting
- `internal/config/` - Configuration and XDG paths
- `flake/default-vm/flake.nix` - Default VM template
**Development:**
@ -536,7 +537,12 @@ Contributions welcome! This is a simple Bash-based tool designed to be readable
git clone https://github.com/yourusername/qvm
cd qvm
nix develop
./bin/qvm start
# Build the Go binary
go build ./cmd/qvm
# Run locally
./qvm start
```
## License