Will
Will

Reputation: 115

Gcloud command line structure

I am having trouble understanding why some gcloud command parameters are key value pairs,

eg. gcloud app deploy app.yaml --project=ProjectID

and other parameters are space separated,

eg. gcloud app deploy app.yaml --version VersionID.

Is there some sort of organizational scheme to which parameters are equal separated vs. space separated?

I've put a full command below for reference

gcloud app deploy app.yaml --version VersionID --project=ProjectID

Upvotes: 2

Views: 347

Answers (1)

Ryan Joseph
Ryan Joseph

Reputation: 350

The equal sign after a flag is optional, but after a property you have to use a space.

Difference between properties and flags

Upvotes: 3

Related Questions