Skip to content

Enhancement: Rename and add alias to spo list label set and spo list label get #4156

@martinlingstuyl

Description

@martinlingstuyl

I find the command names for the following commands a bit unclear:

spo list label set
https://pnp.github.io/cli-microsoft365/cmd/spo/list/list-label-set/

spo list label get
https://pnp.github.io/cli-microsoft365/cmd/spo/list/list-label-get/

It's not clear what kind of label this is about. It would be clearer if we would use the word retentionlabel here. This seems to be used in purview these days instead of the older 'compliance tag'.

Renaming the command would be a breaking change. I'd suggest renaming them AND adding the current one as alias.

The new names should be:
spo list retentionlabel get
spo list retentionlabel set

Even if it's longer, it's clearer in my eyes.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions