wb resource add-ref git-repo

Name

wb-resource-add-ref-git-repo - Add a referenced git repository.

Synopsis

wb resource add-ref git-repo [--cloning=<cloningInstructionsOption>] [--description=<description>] [--format=<format>] --repo-url=<repoUrl> [--workspace=<id>] (--id=<id>)

Description

Add a referenced git repository.

Options

  • --cloning=<cloningInstructionsOption>
    Instructions for handling when cloning the workspace: COPY_NOTHING, COPY_DEFINITION, COPY_RESOURCE, COPY_REFERENCE, COPY_LINK_REFERENCE.

    Default: COPY_REFERENCE
    
  • --description=<description>
    Description of the resource.

  • --format=<format>
    Set the format for printing command output: JSON, TEXT. Defaults to the config format property.

    Default: null
    
  • --id=<id>
    ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores.

  • --id=<id>
    ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores.

  • --repo-url=<repoUrl>
    URL for cloning the git repository, it can be either HTTPS or SSH urls

  • --workspace=<id>
    Workspace id to use for this command only.

Last Modified: 25 November 2024