Skip to content

[Enhancement]: Add user-friendly option values for spo site commsite enable #5199

@milanholemans

Description

@milanholemans

Context: #5174 (comment)


Currently, the command spo site commsite enable accepts an option called designPackageId. The description of this option looks like this:

Allowed values are 96c933ac-3698-44c7-9f4a-5fd17d71af9e (Topic = default), 6142d2a0-63a5-4ba0-aede-d9fefca2c767 (Showcase), f6cc5403-0d63-442e-96c0-285923709ffc (Blank)

According to me, this is not really a user-friendly way of providing options. Let's add a new option designPackage and let's accept the user-friendly values as value: topic, showcase, blank.

Option Description
-i, --designPackageId [designPackageId] The ID of the site design to apply when enabling communication site features. Specify designPackageId or designPackage but not both.
--designPackage [designPackage] The site design to apply when enabling communication site features. Valid values are: Topic, Showcase, or Blank. Defaults to Topic. Specify designPackageId or designPackage but not both.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions