Cli-microsoft365: Enhancement: Extend the `spo sitedesign get` to retrieve site design info using name option

Created on 25 Oct 2020  路  10Comments  路  Source: pnp/cli-microsoft365

The command currently lists site design based on the id which is a GUID passed , extend this command to be more human friendly and have an option to pass title of the site design to retrieve information.

Extend command this to pass title as well, passing either id or name but not both.
If we find multiple items matching the name, return an error with the list of matching items and their ids to disambiguate.

enhancement good first issue work in progress

Most helpful comment

Hi @rabwill
Can I work on this?

All 10 comments

Very good idea! 馃憤

Hey @rabwill / @waldekmastykarz - It is a command which I have used in the past and would love to enhance it by contributing to it.
Do you mind If I take a stab at this?

That would be super awesome @arjunumenon 鉂ll yours !

Hi @arjunumenon how are you going with this one 馃槉? any support from our side?

Hey @rabwill - I am sorry I had not notified about that. My schedule seems to be super tight for this week and next. 馃槥 How about if you un-assign me for the time being so that other can pick this up. I don't want this nice enhancement to be hanging because of my schedule.
If you agree, please feel free to un-assign myself from this issue.

Once I am back, I will be more than happy to pick this up.

No worries at all! I will unassign you for now 馃憤

Hi @rabwill
Can I work on this?

All yours @nanddeepn thank you for your help 馃憤

Hi @rabwill, @waldekmastykarz, @garrytrinder
Should we rename the option name to title?

The output of command m365 spo sitedesign list is as follows:

Id             : caf6b9bc-89e3-49d4-be25-2d9ce63d802f
IsDefault  : false
Title        : Custom tracking
Version    : 1
WebTemplate: 64

We have Title in the output.
Please share your views.

Good catch @nanddeepn! I'll update the spec

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garrytrinder picture garrytrinder  路  3Comments

OodapowUiPath picture OodapowUiPath  路  3Comments

VelinGeorgiev picture VelinGeorgiev  路  3Comments

aakashbhardwaj619 picture aakashbhardwaj619  路  3Comments

waldekmastykarz picture waldekmastykarz  路  3Comments