The m365 todo list set command currently only accepts the id of the list that you want to update, for example...
m365 todo list set --id "AAMkAGI3NDhlZmQzLWQxYjAtNGJjNy04NmYwLWQ0M2IzZTNlMDUwNAAuAAAAAACQ1l2jfH6VSZraktP8Z7auAQCbV93BagWITZhL3J6BMqhjAAD9pHIhAAA=" --newName "My updated task list"
It would be helpful if we could just pass in the name of the current list as an option so that the user doesn't have to manually find id of the list using other means, for example...
m365 todo list set --name "My List" --newName "My New List"
The proposed spec for this change is shown below
| Option |
Description |
-i, --id [id] |
The ID of the list to update. Specify either id or name, not both |
-n, --name [name] |
The display name of the list to update. Specify either id or name, not both |
--newName <newName> |
The new name for the task list |
The
m365 todo list setcommand currently only accepts theidof the list that you want to update, for example...It would be helpful if we could just pass in the name of the current list as an option so that the user doesn't have to manually find id of the list using other means, for example...
The proposed spec for this change is shown below
-i, --id [id]idorname, not both-n, --name [name]idorname, not both--newName <newName>