I am looking to create and update some Azure Devops Wiki pages for my project using Az Cli from an Azure Pipeline job.
However, the required commands (examples below) all have a --file-path attribute which is described as the "Path of the file input if content is specified in the file".
az devops wiki page create --path 'my page' --wiki myprojectwiki --file-path a.txt
az devops wiki page update --path 'my page' --wiki myprojectwiki --file-path a.txt
Can anyone assist with examples of how this --file-path parameter can be set or passed, for example:
- An input file with a remote URL, e.g. http://.... ?
- An input file with an Azure Repo file path?
- An input file stored in a shared folder with a UNC path?
Unfortunately, the basic "a.txt" example provided in the two code snippets from learn.microsoft.com (above) don't exactly provide any clarity.