Cli-microsoft365: Documentation: spo site add --alias setting not showing as mandatory

Created on 23 Jul 2020  路  5Comments  路  Source: pnp/cli-microsoft365

Currently, the docs on https://pnp.github.io/office365-cli/cmd/spo/site/site-add/ say:

-a, --alias [alias] | Site alias, used in the URL and in the team site group e-mail (applies to type TeamSite)

but it should be changed to be a required setting as per the command help as follows:

-a, --alias <alias> | Site alias, used in the URL and in the team site group e-mail (applies to type TeamSite)

docs

Most helpful comment

Thanks for the update @MistaTwist, lets close this as it will resolve itself in the next monthly release.

@pnp/office-365-cli-maintainers something to keep an eye on when we update the options on commands we release into beta as we can introduce differences between the docs and the current stable version.

All 5 comments

Thanks for pointing this out @MistaTwist are you happy to make this change?

Sure thing :)

Great, its all yours! 馃憤

After looking into this a bit more, in the version I was looking at, 2.12, the alias property is marked as mandatory, but on upgrading to the current beta 2.13.0-beta.98e4af8 this property has been updated to be optional and so matches the docs.

Thanks for the update @MistaTwist, lets close this as it will resolve itself in the next monthly release.

@pnp/office-365-cli-maintainers something to keep an eye on when we update the options on commands we release into beta as we can introduce differences between the docs and the current stable version.

Was this page helpful?
0 / 5 - 0 ratings