chore: update target generating the cli command refeference
assume `docs` is sibling of `epinio` checkout.
user has to manually create a PR in the other repo for any changes.
@@ -97,11 +97,11 @@ showfocus:
generate:
go generate ./...
+# Assumes that the `docs` checkout is a sibling of the `epinio` checkout
generate-cli-docs:
- rm -f docs/user/references/cli/*
- go run internal/cli/docs/generate-cli-docs.go docs/user/references/cli/
- perl -pi -e "s@${HOME}@~@" docs/user/references/cli/*md
- git add docs/user/references/cli/*
+ rm -f ../docs/src/references/cli/*
+ go run internal/cli/docs/generate-cli-docs.go ../docs/src/references/cli/
+ perl -pi -e "s@${HOME}@~@" ../docs/src/references/cli/*md
lint: embed_files
go vet ./...
