Skip to content

Build the CLI

From the repository root, build the CLI:

Terminal window
go build -o bin/servestead .

Confirm the binary exists:

Terminal window
bin/servestead --help

Before changing the CLI, run:

Terminal window
go test ./...

Provider provisioning is billable and is not run by the test suite. Cloud API clients are tested against local HTTP servers.

The docs site is separate from the Go CLI:

Terminal window
cd docs
npm install
npm run dev

Use npm run build to verify the static docs output.