1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-11 07:29:40 +00:00
gcloud-help/gcloud/debug/source/gen-repo-info-file
2022-03-01 04:29:52 +00:00

41 lines
1.3 KiB
Text

NAME
gcloud debug source gen-repo-info-file - generates repository information
files for the Cloud Debugger
SYNOPSIS
gcloud debug source gen-repo-info-file
[--output-directory=OUTPUT_DIRECTORY; default="."]
[--source-directory=SOURCE_DIRECTORY; default="."]
[GCLOUD_WIDE_FLAG ...]
DESCRIPTION
This command generates a file named source-context.json containing
information on the source revision and remote repository associated with
the given source directory.
EXAMPLES
To generate repository information files for your app, from your source
directory run:
$ gcloud debug source gen-repo-info-file
FLAGS
--output-directory=OUTPUT_DIRECTORY; default="."
The directory in which to create the source context file.
--source-directory=SOURCE_DIRECTORY; default="."
The directory containing the source code for the build.
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 variant is also available:
$ gcloud beta debug source gen-repo-info-file