build:
	./scripts/build.sh

lint:
	./scripts/lint.sh

test:
	./scripts/test.sh

fmt:
	golangci-lint run --fix ./...

bump-sdk:
	GOPROXY=direct go get -u github.com/scaleway/scaleway-sdk-go@master
	go mod tidy

docs:
	go run ./cmd/scw-doc-gen
	git checkout main -- ./docs/commands/autocomplete.md # Ensure that the file is not changed in case you do not have bash as default shell
	rumdl fmt .
	rumdl check .

.PHONY: docs
