cli-microsoft365 icon indicating copy to clipboard operation
cli-microsoft365 copied to clipboard

Align options with naming convention

Open milanholemans opened this issue 2 years ago • 2 comments

Let's rename the following options in the next major release:

Azure Active Directory:

Command Current option Desired option
aad group user list groupDisplayName groupName
aad m365group conversation post list groupDisplayName groupName
aad m365group recyclebinitem list groupDisplayName groupName
outlook message get userPrincipalName userName

milanholemans avatar Nov 01 '23 16:11 milanholemans

@pnp/cli-for-microsoft-365-maintainers, created this issue where we can bundle options that have to be renamed in the next major release.

I noticed we had 3 commands that use groupDisplayName as an option name to target a group. While we have 19 other commands that use groupName as option name.

milanholemans avatar Nov 01 '23 16:11 milanholemans

Like we discussed, let's create a related issue to introduce the new names and add a deprecation message for the old ones. In the next major version we'll remove the old options and the deprecation message which we'll track from this issue.

waldekmastykarz avatar Nov 03 '23 07:11 waldekmastykarz

Since we have v8 branch we may now start working on it! Let's get this 🚢 and Let's put CLI to the 🚀🌙

Adam-it avatar Jul 07 '24 01:07 Adam-it

Can I work on it?

nanddeepn avatar Jul 09 '24 04:07 nanddeepn

Can I work on it?

awesome 🤩

Adam-it avatar Jul 09 '24 07:07 Adam-it

merged to v9

Adam-it avatar Aug 11 '24 23:08 Adam-it