go install github.com/TV4/gcp-tools/cmd/gcp-pubsub-create-subscription@latest
Usage
gcp-pubsub-create-subscription [-credentials=<...>] -project=<...> <subscription>
-credentials string
path to a GCP credentials file
-project string
Pub/Sub project ID
-version
shows version info
GCP credentials file:
https://developers.google.com/identity/protocols/application-default-credentials