Development notes

Updating dependencies

Ideally CI checks everything before a commit hits main, but run

go get -u && go mod tidy

from time to time and make sure Go dependencies are reasonably up to date.

  • Update .github/workflows/tests.yml based on github-outdated.

Shell completion

Changes to the shell completion can be tested, without restarting the shell using:

source <(cpm completion bash)

Go debugging

To run a single test:

go test -run=TestInsert ./...