Help with the Cake.AzCli - create a PR #3418
Unanswered
nick5454
asked this question in
Extension Q&A
Replies: 2 comments 1 reply
-
As far as I can see Cake.AzureCli does not have |
Beta Was this translation helpful? Give feedback.
1 reply
-
For working with Azure Repos there's the Cake.AzureDevOps addin which provides a AzureDevOpsCreatePullRequest alias |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to see how to use the AzCli to create a PR with this here
I assume this is correct
Az().Repos.Pr.Create(
But, i'm confused on passing the args. Tested this locally and I know i need this command:
az repos pr create --auto-complete false --description "merge sync" --org "https://dev.azure.com/orgname" --project "project" -r "repo" -s "dev_awaiting_merge" -t "develop" --title "Automated Merge"
What type of list setting should I use or just pass arguments like AzLogin
// "'az login' is accessed via Az().Login() dynamic result = Az().Login(new LoginSettings { Username = username, // all commands can be customized if necessary with a ProcessArgumentBuilder Arguments = new ProcessArgumentBuilder() // anything appended with .AppendSecret() will be rendered as [REDACTED] if cake is run with
-verbosity=diagnostic.Append("--password").AppendSecret(password) });
Beta Was this translation helpful? Give feedback.
All reactions