@pnp/cli-microsoft365 5.9.0-beta.fd6d022 → 5.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +17 -2
- package/README.md +5 -0
- package/dist/Command.js +16 -2
- package/dist/appInsights.js +2 -0
- package/dist/m365/aad/commands/app/app-add.js +37 -13
- package/dist/m365/commands/status.js +6 -1
- package/dist/m365/outlook/commands/mail/mail-send.js +55 -31
- package/dist/m365/planner/commands/bucket/bucket-get.js +1 -1
- package/dist/m365/pp/commands/Environment.js +3 -0
- package/dist/m365/pp/commands/card/card-get.js +110 -0
- package/dist/m365/pp/commands/card/card-list.js +68 -0
- package/dist/m365/pp/commands/dataverse/dataverse-table-list.js +69 -0
- package/dist/m365/pp/commands/environment/environment-get.js +75 -0
- package/dist/m365/pp/commands/gateway/gateway-get.js +70 -0
- package/dist/m365/pp/commands/solution/Solution.js +3 -0
- package/dist/m365/pp/commands/solution/solution-get.js +117 -0
- package/dist/m365/pp/commands/solution/solution-list.js +87 -0
- package/dist/m365/pp/commands/tenant/tenant-settings-list.js +45 -0
- package/dist/m365/pp/commands.js +9 -1
- package/dist/m365/spfx/commands/project/project-doctor.js +4 -1
- package/dist/m365/spfx/commands/project/project-externalize.js +4 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010001_YORC_version.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010002_YORC_isCreatingSolution.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010003_YORC_packageManager.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010004_YORC_componentType.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010005_YORC_environment.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010006_YORC_framework.js +3 -2
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010007_YORC_isDomainIsolated.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010008_YORC_nodeVersion.js +2 -1
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010009_YORC_sdkVersions_microsoft_graph_client.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN010010_YORC_sdkVersions_teams_js.js +56 -0
- package/dist/m365/spfx/commands/project/project-upgrade/upgrade-1.14.0.js +0 -2
- package/dist/m365/spfx/commands/project/project-upgrade/{upgrade-1.16.0-beta.1.js → upgrade-1.16.0-beta.2.js} +44 -28
- package/dist/m365/spfx/commands/project/project-upgrade.js +1 -1
- package/dist/m365/spfx/commands/spfx-doctor.js +54 -9
- package/dist/m365/spo/commands/contenttype/contenttype-add.js +82 -43
- package/dist/m365/spo/commands/contenttype/contenttype-field-remove.js +53 -21
- package/dist/m365/spo/commands/contenttype/contenttype-get.js +35 -14
- package/dist/m365/spo/commands/eventreceiver/EventReceiver.js +3 -0
- package/dist/m365/spo/commands/eventreceiver/eventreceiver-remove.js +182 -0
- package/dist/m365/spo/commands/field/field-add.js +26 -1
- package/dist/m365/spo/commands/field/field-set.js +23 -13
- package/dist/m365/spo/commands/file/file-copy.js +25 -39
- package/dist/m365/spo/commands/file/file-move.js +24 -37
- package/dist/m365/spo/commands/file/file-rename.js +19 -16
- package/dist/m365/spo/commands/file/file-roleassignment-add.js +231 -0
- package/dist/m365/spo/commands/file/file-roleassignment-remove.js +180 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-break.js +129 -0
- package/dist/m365/spo/commands/file/file-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/folder/folder-roleassignment-remove.js +168 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-break.js +94 -0
- package/dist/m365/spo/commands/folder/folder-roleinheritance-reset.js +1 -1
- package/dist/m365/spo/commands/group/AssociatedGroupPropertiesCollection.js +3 -0
- package/dist/m365/spo/commands/group/group-list.js +49 -10
- package/dist/m365/spo/commands/list/list-contenttype-add.js +21 -18
- package/dist/m365/spo/commands/list/list-contenttype-default-set.js +59 -47
- package/dist/m365/spo/commands/list/list-contenttype-list.js +16 -8
- package/dist/m365/spo/commands/list/list-contenttype-remove.js +16 -8
- package/dist/m365/spo/commands/list/list-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/list/list-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/list/list-roleinheritance-break.js +14 -6
- package/dist/m365/spo/commands/list/list-roleinheritance-reset.js +15 -7
- package/dist/m365/spo/commands/list/list-webhook-add.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-get.js +17 -10
- package/dist/m365/spo/commands/list/list-webhook-list.js +23 -24
- package/dist/m365/spo/commands/list/list-webhook-remove.js +19 -11
- package/dist/m365/spo/commands/list/list-webhook-set.js +18 -10
- package/dist/m365/spo/commands/listitem/listitem-add.js +24 -14
- package/dist/m365/spo/commands/listitem/listitem-attachment-list.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-get.js +18 -8
- package/dist/m365/spo/commands/listitem/listitem-isrecord.js +20 -10
- package/dist/m365/spo/commands/listitem/listitem-list.js +27 -11
- package/dist/m365/spo/commands/listitem/listitem-record-declare.js +19 -12
- package/dist/m365/spo/commands/listitem/listitem-record-undeclare.js +24 -21
- package/dist/m365/spo/commands/listitem/listitem-remove.js +19 -11
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-add.js +239 -0
- package/dist/m365/spo/commands/listitem/listitem-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-break.js +13 -5
- package/dist/m365/spo/commands/listitem/listitem-roleinheritance-reset.js +14 -6
- package/dist/m365/spo/commands/listitem/listitem-set.js +52 -44
- package/dist/m365/spo/commands/web/web-roleassignment-add.js +10 -10
- package/dist/m365/spo/commands/web/web-roleassignment-remove.js +8 -8
- package/dist/m365/spo/commands/web/web-roleinheritance-break.js +100 -0
- package/dist/m365/spo/commands.js +8 -0
- package/dist/m365/teams/commands/channel/channel-add.js +9 -9
- package/dist/m365/todo/commands/list/list-get.js +89 -0
- package/dist/m365/todo/commands/task/task-add.js +55 -3
- package/dist/m365/todo/commands/task/task-get.js +108 -0
- package/dist/m365/todo/commands/task/task-set.js +53 -1
- package/dist/m365/todo/commands.js +2 -0
- package/dist/utils/cache.js +81 -0
- package/dist/utils/pid.js +57 -0
- package/dist/utils/powerPlatform.js +42 -0
- package/docs/docs/_clisettings.md +19 -0
- package/docs/docs/cmd/outlook/mail/mail-send.md +13 -0
- package/docs/docs/cmd/planner/bucket/bucket-add.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-get.md +29 -0
- package/docs/docs/cmd/planner/bucket/bucket-list.md +30 -0
- package/docs/docs/cmd/planner/bucket/bucket-remove.md +4 -0
- package/docs/docs/cmd/planner/bucket/bucket-set.md +4 -0
- package/docs/docs/cmd/planner/plan/plan-add.md +123 -0
- package/docs/docs/cmd/planner/plan/plan-get.md +75 -0
- package/docs/docs/cmd/planner/plan/plan-list.md +45 -0
- package/docs/docs/cmd/planner/plan/plan-remove.md +4 -0
- package/docs/docs/cmd/pp/card/card-get.md +51 -0
- package/docs/docs/cmd/pp/card/card-list.md +33 -0
- package/docs/docs/cmd/pp/dataverse/dataverse-table-list.md +33 -0
- package/docs/docs/cmd/pp/environment/environment-get.md +38 -0
- package/docs/docs/cmd/pp/environment/environment-list.md +1 -1
- package/docs/docs/cmd/pp/gateway/gateway-get.md +24 -0
- package/docs/docs/cmd/pp/solution/solution-get.md +51 -0
- package/docs/docs/cmd/pp/solution/solution-list.md +33 -0
- package/docs/docs/cmd/pp/tenant/tenant-settings-list.md +26 -0
- package/docs/docs/cmd/spfx/project/project-rename.md +1 -14
- package/docs/docs/cmd/spfx/project/project-upgrade.md +1 -1
- package/docs/docs/cmd/spfx/spfx-doctor.md +10 -1
- package/docs/docs/cmd/spo/contenttype/contenttype-add.md +20 -2
- package/docs/docs/cmd/spo/contenttype/contenttype-field-remove.md +22 -4
- package/docs/docs/cmd/spo/contenttype/contenttype-get.md +21 -3
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-get.md +2 -2
- package/docs/docs/cmd/spo/eventreceiver/eventreceiver-remove.md +69 -0
- package/docs/docs/cmd/spo/field/field-add.md +20 -2
- package/docs/docs/cmd/spo/field/field-set.md +11 -2
- package/docs/docs/cmd/spo/file/file-roleassignment-add.md +57 -0
- package/docs/docs/cmd/spo/file/file-roleassignment-remove.md +54 -0
- package/docs/docs/cmd/spo/file/file-roleinheritance-break.md +54 -0
- package/docs/docs/cmd/spo/folder/folder-roleassignment-remove.md +57 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-break.md +39 -0
- package/docs/docs/cmd/spo/folder/folder-roleinheritance-reset.md +2 -2
- package/docs/docs/cmd/spo/group/group-list.md +10 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-disconnect.md +1 -1
- package/docs/docs/cmd/spo/hubsite/hubsite-get.md +3 -3
- package/docs/docs/cmd/spo/list/list-contenttype-add.md +16 -7
- package/docs/docs/cmd/spo/list/list-contenttype-default-set.md +16 -7
- package/docs/docs/cmd/spo/list/list-contenttype-list.md +15 -6
- package/docs/docs/cmd/spo/list/list-contenttype-remove.md +17 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-break.md +11 -8
- package/docs/docs/cmd/spo/list/list-roleinheritance-reset.md +14 -5
- package/docs/docs/cmd/spo/list/list-webhook-add.md +15 -16
- package/docs/docs/cmd/spo/list/list-webhook-get.md +16 -7
- package/docs/docs/cmd/spo/list/list-webhook-list.md +16 -7
- package/docs/docs/cmd/spo/list/list-webhook-remove.md +12 -10
- package/docs/docs/cmd/spo/list/list-webhook-set.md +14 -12
- package/docs/docs/cmd/spo/listitem/listitem-add.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-attachment-list.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-get.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-isrecord.md +12 -2
- package/docs/docs/cmd/spo/listitem/listitem-list.md +12 -3
- package/docs/docs/cmd/spo/listitem/listitem-record-declare.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-record-undeclare.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-remove.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-roleassignment-add.md +81 -0
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-break.md +7 -4
- package/docs/docs/cmd/spo/listitem/listitem-roleinheritance-reset.md +11 -2
- package/docs/docs/cmd/spo/listitem/listitem-set.md +7 -4
- package/docs/docs/cmd/spo/web/web-roleinheritance-break.md +44 -0
- package/docs/docs/cmd/teams/channel/channel-add.md +4 -4
- package/docs/docs/cmd/tenant/id/id-get.md +20 -0
- package/docs/docs/cmd/tenant/report/report-activeusercounts.md +35 -0
- package/docs/docs/cmd/tenant/report/report-activeuserdetail.md +49 -0
- package/docs/docs/cmd/tenant/report/report-office365activationcounts.md +32 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsusercounts.md +30 -0
- package/docs/docs/cmd/tenant/report/report-office365activationsuserdetail.md +36 -0
- package/docs/docs/cmd/tenant/report/report-servicesusercounts.md +41 -0
- package/docs/docs/cmd/tenant/security/security-alerts-list.md +105 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-get.md +87 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-health-list.md +91 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-get.md +62 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-healthissue-list.md +51 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-get.md +64 -0
- package/docs/docs/cmd/tenant/serviceannouncement/serviceannouncement-message-list.md +52 -0
- package/docs/docs/cmd/todo/list/list-get.md +61 -0
- package/docs/docs/cmd/todo/task/task-add.md +32 -5
- package/docs/docs/cmd/todo/task/task-get.md +75 -0
- package/docs/docs/cmd/todo/task/task-set.md +29 -2
- package/package.json +13 -3
- package/dist/m365/spfx/commands/project/project-upgrade/rules/FN006006_CFG_PS_features.js +0 -60
|
@@ -11,26 +11,53 @@ m365 todo task add [options]
|
|
|
11
11
|
## Options
|
|
12
12
|
|
|
13
13
|
`-t, --title <title>`
|
|
14
|
-
: The title of the task
|
|
14
|
+
: The title of the task.
|
|
15
15
|
|
|
16
16
|
`--listName [listName]`
|
|
17
|
-
: The name of the list in which to create the task. Specify either `listName` or `listId` but not both
|
|
17
|
+
: The name of the list in which to create the task. Specify either `listName` or `listId` but not both.
|
|
18
18
|
|
|
19
19
|
`--listId [listId]`
|
|
20
|
-
: The id of the list in which to create the task. Specify either `listName` or `listId` but not both
|
|
20
|
+
: The id of the list in which to create the task. Specify either `listName` or `listId` but not both.
|
|
21
|
+
|
|
22
|
+
`--bodyContent [bodyContent]`
|
|
23
|
+
: The body content of the task. In the UI this is called 'notes'.
|
|
24
|
+
|
|
25
|
+
`--bodyContentType [bodyContentType]`
|
|
26
|
+
: The type of the body content. Possible values are `text` and `html`. Default is `text`.
|
|
27
|
+
|
|
28
|
+
`--dueDateTime [dueDateTime]`
|
|
29
|
+
: The date when the task is due. This should be defined as a valid ISO 8601 string in the UTC time zone. Only date value is needed, time value is always ignored.
|
|
30
|
+
|
|
31
|
+
`--importance [importance]`
|
|
32
|
+
: The importance of the task. Possible values are: `low`, `normal`, `high`. Default is `normal`.
|
|
33
|
+
|
|
34
|
+
`--reminderDateTime [reminderDateTime]`
|
|
35
|
+
: The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string in the UTC time zone.
|
|
21
36
|
|
|
22
37
|
--8<-- "docs/cmd/_global.md"
|
|
23
38
|
|
|
24
39
|
## Examples
|
|
25
40
|
|
|
26
|
-
Add a task
|
|
41
|
+
Add a task to Microsoft To Do tasks list with with a specific name
|
|
27
42
|
|
|
28
43
|
```sh
|
|
29
44
|
m365 todo task add --title "New task" --listName "My task list"
|
|
30
45
|
```
|
|
31
46
|
|
|
32
|
-
Add a task
|
|
47
|
+
Add a task to a Microsoft To Do tasks list with a specific id
|
|
33
48
|
|
|
34
49
|
```sh
|
|
35
50
|
m365 todo task add --title "New task" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA=="
|
|
36
51
|
```
|
|
52
|
+
|
|
53
|
+
Create a new task with bodyContent and reminder and flag it as important
|
|
54
|
+
|
|
55
|
+
```sh
|
|
56
|
+
m365 todo task add --title "New task" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00Z --importance high
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Create a new task with a specific due date
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 todo task add --title "New task" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
|
|
63
|
+
```
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# todo task get
|
|
2
|
+
|
|
3
|
+
Gets a specific task from a Microsoft To Do task list
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```sh
|
|
8
|
+
m365 todo task get [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
`-i, --id <id>`
|
|
14
|
+
: The ID of the task in de list.
|
|
15
|
+
|
|
16
|
+
`--listName [listName]`
|
|
17
|
+
: The name of the task list to return tasks from. Specify either `listName` or `listId`, not both
|
|
18
|
+
|
|
19
|
+
`--listId [listId]`
|
|
20
|
+
: The id of the task list to return tasks from. Specify either `listName` or `listId`, not both
|
|
21
|
+
|
|
22
|
+
--8<-- "docs/cmd/_global.md"
|
|
23
|
+
|
|
24
|
+
## Examples
|
|
25
|
+
|
|
26
|
+
Gets a specific task from a Microsoft To Do tasks list based on the name of the list and the task id
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
m365 todo task get --listName "My task list" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Gets a specific task from a Microsoft To Do tasks list based on the id of the list and the task id
|
|
33
|
+
|
|
34
|
+
```sh
|
|
35
|
+
m365 todo task get --listId "AQMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MAAuAAADMN-7V4K8g0q_adetip1DygEAxMBBaLl1lk_dAn8KkjfXKQABF-BAgwAAAA==" --id "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA="
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Response
|
|
39
|
+
|
|
40
|
+
=== "JSON"
|
|
41
|
+
|
|
42
|
+
``` json
|
|
43
|
+
{
|
|
44
|
+
"importance": "normal",
|
|
45
|
+
"isReminderOn": false,
|
|
46
|
+
"status": "notStarted",
|
|
47
|
+
"title": "Stay healthy",
|
|
48
|
+
"createdDateTime": "2022-10-23T14:05:09.2673009Z",
|
|
49
|
+
"lastModifiedDateTime": "2022-10-23T14:15:11.3180312Z",
|
|
50
|
+
"hasAttachments": false,
|
|
51
|
+
"categories": [],
|
|
52
|
+
"id": "AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=",
|
|
53
|
+
"body": {
|
|
54
|
+
"content": "",
|
|
55
|
+
"contentType": "text"
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
=== "Text"
|
|
61
|
+
|
|
62
|
+
``` text
|
|
63
|
+
createdDateTime : 2022-10-23T14:05:09.2673009Z
|
|
64
|
+
id : AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=
|
|
65
|
+
lastModifiedDateTime: 2022-10-23T14:15:11.3180312Z
|
|
66
|
+
status : notStarted
|
|
67
|
+
title : Stay healthy
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
=== "CSV"
|
|
71
|
+
|
|
72
|
+
``` text
|
|
73
|
+
id,title,status,createdDateTime,lastModifiedDateTime
|
|
74
|
+
AAMkAGYzNjMxYTU4LTJjZjYtNDlhMi1iMzQ2LWVmMTU3YmUzOGM5MABGAAAAAAAw3-tXgryDSr5p162KnUPKBwDEwEFouXWWT50CfwqSN9cpAAEX8ECDAADEwEFouXWWT50CfwqSN9cpAAEX8GuPAAA=,Stay healthy,notStarted,2022-10-23T14:05:09.2673009Z,2022-10-23T14:15:11.3180312Z
|
|
75
|
+
```
|
|
@@ -25,18 +25,45 @@ m365 todo task set [options]
|
|
|
25
25
|
`--listId [listId]`
|
|
26
26
|
: The id of the task list in which the task exists. Specify either `listName` or `listId`, not both
|
|
27
27
|
|
|
28
|
+
`--bodyContent [bodyContent]`
|
|
29
|
+
: The body content of the task. In the UI this is called 'notes'.
|
|
30
|
+
|
|
31
|
+
`--bodyContentType [bodyContentType]`
|
|
32
|
+
: The type of the body content. Possible values are `text` and `html`. Default is `text`.
|
|
33
|
+
|
|
34
|
+
`--importance [importance]`
|
|
35
|
+
: The importance of the task. Possible values are: `low`, `normal`, `high`.
|
|
36
|
+
|
|
37
|
+
`--dueDateTime [dueDateTime]`
|
|
38
|
+
: The date and time when the task is due. This should be defined as a valid ISO 8601 string in the UTC time zone. Only date value is needed, time value is always ignored.
|
|
39
|
+
|
|
40
|
+
`--reminderDateTime [reminderDateTime]`
|
|
41
|
+
: The date and time for a reminder alert of the task to occur. This should be defined as a valid ISO 8601 string in the UTC time zone.
|
|
42
|
+
|
|
28
43
|
--8<-- "docs/cmd/_global.md"
|
|
29
44
|
|
|
30
45
|
## Examples
|
|
31
46
|
|
|
32
|
-
Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with
|
|
47
|
+
Update a task with title _New task_ to _Update doco_ in Microsoft To Do tasks list with a specific name
|
|
33
48
|
|
|
34
49
|
```sh
|
|
35
50
|
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --title "Update doco" --listName "My task list"
|
|
36
51
|
```
|
|
37
52
|
|
|
38
|
-
Update a task with status from _notStarted_ to _inProgress_ in Microsoft To Do tasks list with
|
|
53
|
+
Update a task with status from _notStarted_ to _inProgress_ in Microsoft To Do tasks list with a specific name
|
|
39
54
|
|
|
40
55
|
```sh
|
|
41
56
|
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --status "inProgress" --listName "My task list"
|
|
42
57
|
```
|
|
58
|
+
|
|
59
|
+
Update a task with bodyContent and reminder and flag it as important in Microsoft To Do tasks list with a specific name
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listName "My task list" --bodyContent "I should not forget this" --reminderDateTime 2023-01-01T12:00:00Z --importance high
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Update a task with due date in Microsoft To Do tasks list with list id
|
|
66
|
+
|
|
67
|
+
```sh
|
|
68
|
+
m365 todo task set --id "AAMkADU3Y2E0OTMxLTllYTQtNGFlZS1hZGM0LWI1NjZjY2FhM2RhMABGAAAAAADhr7P77n9xS6PdtDemRwpHBwCin1tvQMXzRKN1hQDz2S3VAAAXXsleAACin1tvQMXzRKN1hQDz2S3VAAAXXzr9AAA=" --listId "AQMkADlhMTRkOGEzLWQ1M2QtNGVkNS04NjdmLWU0NzJhMjZmZWNmMwAuAAADKvwNgAMNPE_zFNRJXVrU1wEAhHKQZHItDEOVCn8U3xuA2AABmQeVPwAAAA==" --dueDateTime 2023-01-01
|
|
69
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pnp/cli-microsoft365",
|
|
3
|
-
"version": "5.9.0
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/api.js",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"contributors": [
|
|
102
102
|
"Abhishek K M <67158080+Sync271@users.noreply.github.com>",
|
|
103
103
|
"Ågren, Simon <simon.agren@sogeti.com>",
|
|
104
|
-
"
|
|
104
|
+
"Ahlawat, Priyanshu <priyanshuahlawat009@gmail.com>",
|
|
105
105
|
"Albany, Bruce <bruce.albany@gmail.com>",
|
|
106
106
|
"Auckloo, Reshmee <reshmee011@gmail.com>",
|
|
107
107
|
"Balasubramaniam, Jayakumar <jayakumar@live.in>",
|
|
@@ -116,9 +116,11 @@
|
|
|
116
116
|
"Calabro, David <davej.calabro@gmail.com>",
|
|
117
117
|
"Choudhary, Karnail Singh <pradhankarnail@gmail.com>",
|
|
118
118
|
"Connell, Andrew <me@andrewconnell.com>",
|
|
119
|
+
"De Cleyre, Nico <nico.de.cleyre@gmail.com>",
|
|
119
120
|
"Deshpande, Vardhaman <vardhaman.rd@gmail.com>",
|
|
120
121
|
"Dyjas, Robert <15113729+robdy@users.noreply.github.com>",
|
|
121
122
|
"Faleel, Mohamed Ashiq <ashiqf@gmail.com>",
|
|
123
|
+
"Flores, Gaston <gaston.flrs@gmail.com>",
|
|
122
124
|
"Ford, Lee <fordyman@gmail.com>",
|
|
123
125
|
"Freese, Luise <49960482+LuiseFreese@users.noreply.github.com>",
|
|
124
126
|
"Georgiev, Velin <velin.georgiev@gmail.com>",
|
|
@@ -132,8 +134,8 @@
|
|
|
132
134
|
"Högberg, Joakim <joakim.hogberg@bravero.se>",
|
|
133
135
|
"Hvam, Allan <ahp@delegate.dk>",
|
|
134
136
|
"Jaakke, Robert <robert.jaakke@mavention.nl>",
|
|
135
|
-
"John Rafael <dragonwood0@protonmail.com>",
|
|
136
137
|
"Kailasam, Balamurugan <kshsbala@engineer.com>",
|
|
138
|
+
"Karda, Akash <akashkarda@gmail.com>",
|
|
137
139
|
"Kasireddy, Prasad <prasad.gietcse@gmail.com>",
|
|
138
140
|
"Keijzers, Paul <KbWorks@users.noreply.github.com>",
|
|
139
141
|
"Kelkar, Vipul <vipul.kelkar@outlook.com>",
|
|
@@ -155,7 +157,9 @@
|
|
|
155
157
|
"Mücklisch, Steve <steve.muecklisch@gmail.com>",
|
|
156
158
|
"Nachan, Nanddeep <nanddeepnachan@gmail.com>",
|
|
157
159
|
"Nachan, Smita <smita.nachan@gmail.com>",
|
|
160
|
+
"Nadir, Daniaal <daniaal1030@gmail.com>",
|
|
158
161
|
"Nikolić, Aleksandar <alexandair@live.com>",
|
|
162
|
+
"O'Callaghan, Conor <brioscaibriste@gmail.com>",
|
|
159
163
|
"Otto <berot3@gmail.com>",
|
|
160
164
|
"Pandey, Vividh <vividh.pandey.13@gmail.com>",
|
|
161
165
|
"Patil, Atharva <atharvapatil19202@gmail.com>",
|
|
@@ -163,23 +167,29 @@
|
|
|
163
167
|
"Powney, Mark <powney.mark@outlook.com>",
|
|
164
168
|
"pramod74 <pramod.lumb@gmail.com>",
|
|
165
169
|
"Priem, Mark <mark.priem@outlook.com>",
|
|
170
|
+
"Rafael, John <dragonwood0@protonmail.com>",
|
|
166
171
|
"Raju, Arnie <arnie.raju@thesolutioncollective.com.au>",
|
|
167
172
|
"Ramalho, David <dramalho@storm.ie>",
|
|
173
|
+
"Rathi, Tanmay <tanmay_rathi@intuit.com>",
|
|
168
174
|
"Reekmans, Yannick <reekmans.yannick@gmail.com>",
|
|
175
|
+
"Raghwendra Rishabh <rishabhraghwendra2002@gmail.com>",
|
|
169
176
|
"Romano, Rodrigo <rodrigo@rodrigoromano.net>",
|
|
170
177
|
"Romão, Douglas <douglas.romao@trentim.com>",
|
|
171
178
|
"Rozinov, Roman <roman.rozinov@sogeti.com>",
|
|
179
|
+
"Saatçi, Hüseyin <huseyins@comodo.net>",
|
|
172
180
|
"Schaeflein, Paul <paul@schaeflein.net>",
|
|
173
181
|
"Schot, Albert-Jan <appie@digiwijs.nl>",
|
|
174
182
|
"Schouten, Robert <robert.schouten@wortell.nl>",
|
|
175
183
|
"Schütze, Sebastian <sebastian.schuetze@razorspoint.com>",
|
|
176
184
|
"Shafi, Danish <33339824+builtbydans@users.noreply.github.com>",
|
|
177
185
|
"Shah, Dipen <Dips365@hotmail.com>",
|
|
186
|
+
"Sharma, Dushyant <dushyantsharma17117@gmail.com>",
|
|
178
187
|
"Siatka, Piotr <piotr@valointranet.com>",
|
|
179
188
|
"Sinha, Kislay <kislay_sinha@outlook.com>",
|
|
180
189
|
"Sitaraman, Rajesh <rajesh.sitaraman@outlook.com>",
|
|
181
190
|
"Sittler, Laurent <laurent.sittler@lsonline.fr>",
|
|
182
191
|
"Skelly, Pete <peteskelly@gmail.com>",
|
|
192
|
+
"Solazzi, Riccardo <rick.zal239@gmail.com>",
|
|
183
193
|
"Sotelo, Aaron <soteloaaron16@gmail.com>",
|
|
184
194
|
"strafe <strafe@users.noreply.github.com>",
|
|
185
195
|
"Struyf, Elio <info@estruyf.be>",
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FN006006_CFG_PS_features = void 0;
|
|
4
|
-
const uuid_1 = require("uuid");
|
|
5
|
-
const JsonRule_1 = require("../../JsonRule");
|
|
6
|
-
class FN006006_CFG_PS_features extends JsonRule_1.JsonRule {
|
|
7
|
-
constructor() {
|
|
8
|
-
super();
|
|
9
|
-
}
|
|
10
|
-
get id() {
|
|
11
|
-
return 'FN006006';
|
|
12
|
-
}
|
|
13
|
-
get title() {
|
|
14
|
-
return 'package-solution.json features';
|
|
15
|
-
}
|
|
16
|
-
get description() {
|
|
17
|
-
return `In package-solution.json add features section`;
|
|
18
|
-
}
|
|
19
|
-
get resolution() {
|
|
20
|
-
return '';
|
|
21
|
-
}
|
|
22
|
-
get resolutionType() {
|
|
23
|
-
return 'json';
|
|
24
|
-
}
|
|
25
|
-
get severity() {
|
|
26
|
-
return 'Required';
|
|
27
|
-
}
|
|
28
|
-
get file() {
|
|
29
|
-
return './config/package-solution.json';
|
|
30
|
-
}
|
|
31
|
-
visit(project, findings) {
|
|
32
|
-
var _a, _b;
|
|
33
|
-
if (!project.packageSolutionJson ||
|
|
34
|
-
!project.packageSolutionJson.solution) {
|
|
35
|
-
return;
|
|
36
|
-
}
|
|
37
|
-
if (!project.packageSolutionJson.solution.features) {
|
|
38
|
-
const resolution = {
|
|
39
|
-
solution: {
|
|
40
|
-
features: [
|
|
41
|
-
{
|
|
42
|
-
title: `${(_a = project.packageJson) === null || _a === void 0 ? void 0 : _a.name} Feature`,
|
|
43
|
-
description: `The feature that activates elements of the ${(_b = project.packageJson) === null || _b === void 0 ? void 0 : _b.name} solution.`,
|
|
44
|
-
id: (0, uuid_1.v4)(),
|
|
45
|
-
version: project.packageSolutionJson.solution.version
|
|
46
|
-
}
|
|
47
|
-
]
|
|
48
|
-
}
|
|
49
|
-
};
|
|
50
|
-
const node = this.getAstNodeFromFile(project.packageSolutionJson, 'solution');
|
|
51
|
-
this.addFindingWithOccurrences([{
|
|
52
|
-
file: this.file,
|
|
53
|
-
resolution: JSON.stringify(resolution, null, 2),
|
|
54
|
-
position: this.getPositionFromNode(node)
|
|
55
|
-
}], findings);
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
}
|
|
59
|
-
exports.FN006006_CFG_PS_features = FN006006_CFG_PS_features;
|
|
60
|
-
//# sourceMappingURL=FN006006_CFG_PS_features.js.map
|