On this page
Bellows
Installation
Bellows is distributed as a single binary.
Homebrew
Homebrew distribution is available from the Smeltery tap.
brew tap smeltery/tap
brew install --cask smeltery/tap/bellowsVerify:
bellows --version
bellows self-testGo Install
go install github.com/smeltery/bellows@latestMake sure $(go env GOPATH)/bin is on your PATH.
For private Smeltery module access, configure Go to bypass the public proxy and checksum database for the organization:
go env -w GOPRIVATE=github.com/smeltery/*
go env -w GONOSUMDB=github.com/smeltery/*
GOPROXY=direct go install github.com/smeltery/bellows@latestRelease Archives
Download archives from GitHub Releases when a tagged release is available:
gh release download --repo smeltery/bellows --pattern "bellows_*_$(go env GOOS)_$(go env GOARCH).tar.gz"Runtime Dependencies
Bellows shells out to act and Docker.
Install act:
brew install actInstall and start a Docker-compatible runtime:
Docker Desktop
Rancher Desktop
Colima
another runtime that exposes the Docker CLI/socket
Check the local environment:
bellows doctorbellows doctor reports whether act is available and Docker is reachable.
Shell Completions
Generate completions with:
bellows completion zsh
bellows completion bash
bellows completion fishFor zsh with Homebrew:
bellows completion zsh > "$(brew --prefix)/share/zsh/site-functions/_bellows"For bash with Homebrew:
mkdir -p "$(brew --prefix)/etc/bash_completion.d"
bellows completion bash > "$(brew --prefix)/etc/bash_completion.d/bellows"For fish:
mkdir -p ~/.config/fish/completions
bellows completion fish > ~/.config/fish/completions/bellows.fishOptional: pre-commit
Bellows can generate a hook for the pre-commit framework.
brew install pre-commitThen initialize Bellows with hook support:
bellows init --pre-commit
pre-commit install --hook-type pre-push