Azure / Azure/azure-cli-extensions

Can Description be Multi-Line?

Open
#2,593 4 comments 0 reactions 0 assignees View on GitHub
DevOps Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

I want a multi-line description...
I was able to execute a powershell command using a multi-line Here-string - but only the first line of my text was used
``` ps
az artifacts universal publish --organization "https://dev.azure.com/MyOrg/" --project="MyProject" --scope project --feed FeedName --name PackageName --version 40.1.3 `
--path "\publish" --description @'
- Bullet 1
- Bullet 2
- Bullet 3
'@
```
The Description line after upload just reads "- Bullet 1".
What can I do to achieve this? Use a variable, or does it only take the first line??

---
#### Document Details

⚠ *Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.*

* ID: fa27bc14-1989-60eb-06ea-1270d9fbf0f1
* Version Independent ID: 1f391f98-ac28-ba9f-366a-447c1f9e4feb
* Content: [az artifacts universal](https://docs.microsoft.com/en-us/cli/azure/ext/azure-devops/artifacts/universal?view=azure-cli-latest#ext_azure_devops_az_artifacts_universal_publish)
* Content Source: [latest/docs-ref-autogen/ext/azure-devops/artifacts/universal.yml](https://github.com/MicrosoftDocs/azure-docs-cli/blob/master/latest/docs-ref-autogen/ext/azure-devops/artifacts/universal.yml)
* GitHub Login: @rloutlaw
* Microsoft Alias: **routlaw**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.