Skip to content

Add extra options for todo task set #3835

@milanholemans

Description

@milanholemans

The command todo task set is missing some options.

We could add the following options:

Options

Option Description
--bodyContent [bodyContent] The body content of the task.
--bodyContentType [bodyContentType] The type of the content. Possible values are text and html.
--dueDateTime [dueDateTime] The date and time when the task is due. This should be defined as a valid ISO 8601 string.
--importance [importance] The importance of the task. Possible values are: low, normal, high.
--reminderDateTime [reminderDateTime] The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string.

Examples

Updates a task with bodyContent and reminder and flag it as important

m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00 --importance high

Updates a task with due date

m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01T12:00:00

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions