cloud projects patch
Overview
Edit individual properties of a project
Aliases: patch
Usage:
Arguments:
<repository-id>
: The ID of the project
Options:
-o, --output <json|table>
: Output type of the retrieved data--name <name>
: The name of the project-pr, --pull-request-url-pattern <pull-request-url-pattern>
: Custom pattern for creating pull requests, where {{sourceBranch}} and {{destinationBranch}} will be replaced with the corresponding branch names. Sample usage: https://example.com/pr/{{sourceBranch}}/{{destinationBranch}}-no-pr, --no-pull-request-url-pattern
: Remove the custom pattern for creating pull requests
How It Works
When the quix cloud project patch
command is executed:
- The command invokes the project service to patch the project with the provided details.
- If
--no-pull-request-url-pattern
is set, the pull request URL pattern is removed. - The command then outputs the updated project details using the specified output format.
Example Usage
Edit Project Name
To edit the name of a project:
Set Custom Pull Request URL Pattern
To set a custom pull request URL pattern:
$ quix cloud project patch my-project-id --pull-request-url-pattern "https://example.com/pr/{{sourceBranch}}/{{destinationBranch}}"
Remove Custom Pull Request URL Pattern
To remove the custom pull request URL pattern: