Skip to content

Latest commit

 

History

History
198 lines (155 loc) · 3.51 KB

Update-TodoistTask.md

File metadata and controls

198 lines (155 loc) · 3.51 KB
external help file Module Name online version schema
PSTodoist-help.xml
PSTodoist
2.0.0

Update-TodoistTask

SYNOPSIS

Updates a todoist task

SYNTAX

Update-TodoistTask [-Id] <String> [[-Content] <String>] [[-LabelIDs] <Int32[]>] [[-Priority] <Int32>]
 [[-DueString] <String>] [[-DueDate] <String>] [[-DueDateTime] <DateTime>] [[-DueLang] <String>]
 [[-ProjectID] <String>] [[-Token] <String>] [<CommonParameters>]

DESCRIPTION

Updates a todoist task, alternate token can be supplied if Set-TodoistToken is not used

EXAMPLES

EXAMPLE 1

Update-TodoistTask -Id 1234 -Content "Put out forest fires" -DueString "In 2 years"

PARAMETERS

-Id

ID of todoist Task

Type: String
Parameter Sets: (All)
Aliases:

Required: True
Position: 1
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False

-Content

Content (text) of task.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 2
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-LabelIDs

LabelID or LabelIDs that the task should have (one int or array of ints)

Type: Int32[]
Parameter Sets: (All)
Aliases:

Required: False
Position: 3
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Priority

Priority of the task.

Type: Int32
Parameter Sets: (All)
Aliases:

Required: False
Position: 4
Default value: 0
Accept pipeline input: False
Accept wildcard characters: False

-DueString

String with due date. "Tomorrow 4pm" etc. Can't be used with other Due* parameters (except DueLang)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 5
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DueDate

String with due date. Format: yyyy-MM-dd (2018-07-20) . Can't be used with other Due* parameters (except DueLang)

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 6
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DueDateTime

Specific date and time in RFC3339 format in UTC. Can't be used with other Due* parameters (except DueLang)

Type: DateTime
Parameter Sets: (All)
Aliases:

Required: False
Position: 7
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-DueLang

2-letter code specifying language in case DueString is not written in English.

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 8
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-ProjectID

Id of the project that the task should be in

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 9
Default value: None
Accept pipeline input: False
Accept wildcard characters: False

-Token

Todoist token if it's not set as a global variable with Set-TodoistToken

Type: String
Parameter Sets: (All)
Aliases:

Required: False
Position: 10
Default value: $Global:TodoistToken
Accept pipeline input: False
Accept wildcard characters: False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216).

INPUTS

OUTPUTS

NOTES

RELATED LINKS