diff --git a/windows-agent/cmd/ubuntu-pro-agent/main.go b/windows-agent/cmd/ubuntu-pro-agent/main.go index 343fbc60f..ae0be32dd 100644 --- a/windows-agent/cmd/ubuntu-pro-agent/main.go +++ b/windows-agent/cmd/ubuntu-pro-agent/main.go @@ -14,9 +14,7 @@ import ( log "github.com/sirupsen/logrus" ) -//go:generate go run ../generate_completion_documentation.go completion ../../generated -//go:generate go run ../generate_completion_documentation.go update-readme -//go:generate go run ../generate_completion_documentation.go update-doc-cli-ref +//go:generate go generate ../../generate/... func main() { i18n.InitI18nDomain(common.TEXTDOMAIN) diff --git a/wsl-pro-service/cmd/wsl-pro-service/main.go b/wsl-pro-service/cmd/wsl-pro-service/main.go index 80e43e4b2..73a51a4fa 100644 --- a/wsl-pro-service/cmd/wsl-pro-service/main.go +++ b/wsl-pro-service/cmd/wsl-pro-service/main.go @@ -14,9 +14,7 @@ import ( log "github.com/sirupsen/logrus" ) -//go:generate go run ../generate_completion_documentation.go completion ../../generated -//go:generate go run ../generate_completion_documentation.go update-readme -//go:generate go run ../generate_completion_documentation.go update-doc-cli-ref +//go:generate go generate ../../generate/... func main() { i18n.InitI18nDomain(common.TEXTDOMAIN)