Skip to content

Enhancement: Add name option to todo list set command #1806

@garrytrinder

Description

@garrytrinder

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions