diff --git a/pkg/cmd/api/api.go b/pkg/cmd/api/api.go index 854aae661..c23458aff 100644 --- a/pkg/cmd/api/api.go +++ b/pkg/cmd/api/api.go @@ -143,8 +143,11 @@ func NewCmdApi(f *cmdutil.Factory, runF func(*ApiOptions) error) *cobra.Command '{{range .}}{{.title}} ({{.labels | pluck "name" | join ", " | color "yellow"}}){{"\n"}}{{end}}' # update allowed values of the "environment" custom property in a deeply nested array - gh api --PATCH /orgs/{org}/properties/schema -F 'properties[][property_name]=environment' -F 'properties[][default_value]=production' - -F 'properties[][allowed_values][]=staging' -F 'properties[][allowed_values][]=production' + gh api --PATCH /orgs/{org}/properties/schema \ + -F 'properties[][property_name]=environment' \ + -F 'properties[][default_value]=production' \ + -F 'properties[][allowed_values][]=staging' \ + -F 'properties[][allowed_values][]=production' # list releases with GraphQL $ gh api graphql -F owner='{owner}' -F name='{repo}' -f query='