CmdID

CmdID / az / az devops / az devops wiki / az devops wiki page

az devops wiki page create

Add a new page. Azure CLI extensions reference

2 examples 6 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create a new page with path 'my page' in a wiki named 'myprojectwiki' with inline content

az devops wiki page create --path 'my page' --wiki myprojectwiki --content "Hello World"Identify
--pathPath of the wiki page.
--wikiName or Id of the wiki.
--contentContent of the wiki page.

Create a new page with path 'my page' in a wiki named 'myprojectwiki' with content from a file

az devops wiki page create --path 'my page' --wiki myprojectwiki --file-path a.txt --encoding utf-8Identify
--pathPath of the wiki page.
--wikiName or Id of the wiki.
--file-pathPath of the file input if content is specified in the file.
--encodingEncoding of the file.

Options

6 in the Azure CLI extensions reference
--commentComment in the commit message of file add operation.
--contentContent of the wiki page.
--encodingEncoding of the file.
--file-pathPath of the file input if content is specified in the file.
--pathPath of the wiki page.
--wikiName or Id of the wiki.