Add create command for LUKS volume provisioning and Makefile

New `arca create <device> <alias>` command that formats a device with
LUKS encryption, creates a filesystem, optionally enrolls a FIDO2
keyslot, and adds the device to the arca config.

Adds Makefile with arca, vet, lint, test, and clean targets.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-30 15:00:20 -07:00
parent 4d014f7872
commit 293bcdcdae
3 changed files with 251 additions and 0 deletions

16
Makefile Normal file
View File

@@ -0,0 +1,16 @@
.PHONY: arca vet lint test clean
arca:
go build -o arca .
vet:
go vet ./...
lint:
golangci-lint run ./...
test:
go test ./...
clean:
rm -f arca