I want a developer interface that codifies rote logic execution. And I am experimenting with AI Agentic code to find the sharp edges.
To run all tests:
go test ./...
To run the CLI locally (from the project root):
go run main.go [command]
For example, to see available commands:
go run main.go --help
To build the project for your current OS/architecture:
make build
This will produce a binary named dev in the bin/ directory for your current system.
To cross-compile for another system (e.g., Linux amd64):
GOOS=linux GOARCH=amd64 make build
This will also produce a binary named dev in the bin/ directory, but for the specified target system.
You can install the latest dev binary automatically with a one-liner (Linux/macOS):
curl -sSL https://raw.githubusercontent.com/danlafeir/dev/main/scripts/install.sh | shThis script will detect your OS and architecture, download the correct binary from the main branch, and install it to ~/.local/bin (you may be prompted for your password).
Security tip: Always review install scripts before piping to sh.