mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-09 19:06:53 +00:00
75 lines
2.7 KiB
Text
75 lines
2.7 KiB
Text
NAME
|
|
gcloud beta saas-runtime flags pull - create a JSON manifest file using the
|
|
SaaS Flags API as the source of truth
|
|
|
|
SYNOPSIS
|
|
gcloud beta saas-runtime flags pull --output-file=OUTPUT_FILE
|
|
(--unit-kind=UNIT_KIND : --location=LOCATION) [--flag-set=FLAG_SET]
|
|
[--overwrite-output-file] [GCLOUD_WIDE_FLAG ...]
|
|
|
|
DESCRIPTION
|
|
(BETA) Creates a Flags manifest file under the specified location. The
|
|
manifest file will contain all flags for the specified UnitKind. By
|
|
default, the output file cannot already exist. Use --overwrite-output-file
|
|
to allow overwriting an existing file.
|
|
|
|
EXAMPLES
|
|
To create a manifest file named my_flags.json in a home directory:
|
|
|
|
$ gcloud beta saas-runtime flags pull \
|
|
--output-file=~/my_flags.json --unit-kind=my-unit-kind
|
|
|
|
REQUIRED FLAGS
|
|
--output-file=OUTPUT_FILE
|
|
Path to the JSON manifest file that will be created containing the flag
|
|
definitions. The manifest file will conform to the OpenFeature CLI flag
|
|
manifest schema.
|
|
|
|
UnitKind resource - UnitKind to pull all the flags from. The arguments in
|
|
this group can be used to specify the attributes of this resource. (NOTE)
|
|
Some attributes are not given arguments in this group but can be set in
|
|
other ways.
|
|
|
|
To set the project attribute:
|
|
◆ provide the argument --unit-kind on the command line with a fully
|
|
specified name;
|
|
◆ provide the argument --project on the command line;
|
|
◆ set the property core/project.
|
|
|
|
This must be specified.
|
|
|
|
--unit-kind=UNIT_KIND
|
|
ID of the unitKind or fully qualified identifier for the unitKind.
|
|
|
|
To set the unit_kind attribute:
|
|
▸ provide the argument --unit-kind on the command line.
|
|
|
|
This flag argument must be specified if any of the other arguments in
|
|
this group are specified.
|
|
|
|
--location=LOCATION
|
|
Location ID
|
|
|
|
To set the location attribute:
|
|
▸ provide the argument --unit-kind on the command line with a fully
|
|
specified name;
|
|
▸ provide the argument --location on the command line.
|
|
|
|
OPTIONAL FLAGS
|
|
--flag-set=FLAG_SET
|
|
Flag set ID to filter flags by.
|
|
|
|
--overwrite-output-file
|
|
Overwrite the output file if it already exists. Default is False.
|
|
|
|
GCLOUD WIDE FLAGS
|
|
These flags are available to all commands: --access-token-file, --account,
|
|
--billing-project, --configuration, --flags-file, --flatten, --format,
|
|
--help, --impersonate-service-account, --log-http, --project, --quiet,
|
|
--trace-token, --user-output-enabled, --verbosity.
|
|
|
|
Run $ gcloud help for details.
|
|
|
|
NOTES
|
|
This command is currently in beta and might change without notice.
|
|
|