Title here
Summary here
Required:
Optional (for development):
# Arch Linux
paru -S golangci-lint
# macOS
brew install golangci-lint
# Other (via Go)
go install github.com/golangci/golangci-lint/cmd/golangci-lint@latestThe fastest way to install AWF:
curl -fsSL https://raw.githubusercontent.com/awf-project/cli/main/scripts/install.sh | shTo install a specific version:
AWF_VERSION=v1.0.0 curl -fsSL https://raw.githubusercontent.com/awf-project/cli/main/scripts/install.sh | shThe script detects your OS and architecture, downloads the appropriate binary, verifies its SHA256 checksum, and installs it to /usr/local/bin.
If you have Go installed:
go install github.com/awf-project/cli/cmd/awf@latestThis installs the awf binary to your $GOPATH/bin directory.
For the latest development version or to contribute:
# Clone the repository
git clone https://github.com/awf-project/cli.git
cd cli
# Build the binary
make build
# Install to /usr/local/bin (optional)
make installThe binary will be available at ./bin/awf after building.
awf versionExpected output:
awf version X.Y.ZGenerate shell autocompletion scripts:
# Bash
awf completion bash > /etc/bash_completion.d/awf
# Zsh
awf completion zsh > "${fpath[1]}/_awf"
# Fish
awf completion fish > ~/.config/fish/completions/awf.fish
# PowerShell
awf completion powershell > awf.ps1AWF uses these Go packages:
| Package | Purpose |
|---|---|
spf13/cobra | CLI framework |
gopkg.in/yaml.v3 | YAML parsing |
fatih/color | Terminal colors |
google/uuid | UUID generation |
golang.org/x/sync/errgroup | Parallel execution |
modernc.org/sqlite | History storage (SQLite) |
expr-lang/expr | Expression evaluation |