jx preview create

jx preview create

Creates a preview

Usage

jx preview create

Synopsis

Creates a preview

Examples

# creates a new preview environemnt
jx-preview create

Options

      --app string                     Name of the app or repository
      --debug                          Enables debug logging in helmfile
      --dir string                     the directory to search for the .git to discover the git source URL (default ".")
  -f, --file string                    Preview helmfile.yaml path to use. If not specified it is discovered in preview/helmfile.yaml and created from a template if needed
      --git-kind string                the kind of git server to connect to
      --git-server string              the git server URL to create the git provider client. If not specified its defaulted from the current source URL
      --git-token string               the git token used to operate on the git repository
  -h, --help                           help for create
      --no-comment                     Disables commenting on the Pull Request after preview is created
      --pr int                         the Pull Request number. If not specified we detect it via $PULL_NUMBER or $BRANCH_NAME environment variables
      --preview-url-timeout duration   Time to wait for the preview URL to be available (default 1m0.000000005s)

SEE ALSO

Auto generated by spf13/cobra on 1-Feb-2021


Last modified April 6, 2021: fix: regen CLI (2b624fde83)