Buf(1)

NAME

buf-push - Push to a registry

SYNOPSIS

buf push [flags]

DESCRIPTION

The first argument is the source to push, which must be one of format [dir,git,protofile,tar,zip]. This defaults to "." if no argument is specified.

OPTIONS

--create[=false]
    Create the repository if it does not exist. Defaults to creating a private repository if --create-visibility is not set.

--create-default-label=""
    The repository's default label setting, if created. If this is not set, then the repository will be created with the default label "main".

--create-visibility="private"
    The repository's visibility setting, if created. Can only be set with --create. Must be one of [public,private]

--disable-symlinks[=false]
    Do not follow symlinks when reading sources or configuration from the local filesystem By default, symlinks are followed in this CLI, but never followed on the Buf Schema Registry

--error-format="text"
    The format for build errors printed to stderr. Must be one of [text,json,msvs,junit,github-actions]

--git-metadata[=false]
    Uses the Git source control state to set flag values. If this flag is set, we will use the following values for your flags:
    --source-control-url to <git remote URL>/<repository name>/<route>/<checked out commit sha> (e.g. https://github.com/acme/weather/commit/ffac537e6cbbf934b08745a378932722df287a53).
    --label for each Git tag and branch pointing to the currently checked out commit. You can set additional labels using --label with this flag.
    --create-default-label to the Git default branch (e.g. main) - this is only in effect if --create is also set.

The source control URL and default branch is based on the required Git remote "origin". This flag is only compatible with checkouts of Git source repositories. This flag does not allow you to set any of the following flags yourself: --source-control-url, --create-default-label.

-h, --help[=false]
    help for push

--label=[]
    Associate the label with the modules pushed. Can be used multiple times.

--source-control-url=""
    The URL for viewing the source code of the pushed modules (e.g. the specific commit in source control).

OPTIONS INHERITED FROM PARENT COMMANDS

--debug[=false]
    Turn on debug logging

--log-format="color"
    The log format [text,color,json]

--timeout=2m0s
    The duration until timing out, setting it to zero means no timeout

-v, --verbose[=false]
    Turn on verbose mode

SEE ALSO

buf(1)

HISTORY

2024-05-16 Auto generated by spf13/cobra