@pnp/cli-microsoft365 6.9.0-beta.6a23aba → 6.9.0-beta.91abae4

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.
@@ -31,7 +31,7 @@ class FlowListCommand extends AzmgmtItemsListCommand_1.AzmgmtItemsListCommand {
31
31
  constructor() {
32
32
  super();
33
33
  _FlowListCommand_instances.add(this);
34
- this.allowedSharingStatusses = ['all', 'personal', 'ownedByMe', 'sharedWithMe'];
34
+ this.allowedSharingStatuses = ['all', 'personal', 'ownedByMe', 'sharedWithMe'];
35
35
  __classPrivateFieldGet(this, _FlowListCommand_instances, "m", _FlowListCommand_initTelemetry).call(this);
36
36
  __classPrivateFieldGet(this, _FlowListCommand_instances, "m", _FlowListCommand_initOptions).call(this);
37
37
  __classPrivateFieldGet(this, _FlowListCommand_instances, "m", _FlowListCommand_initValidators).call(this);
@@ -88,7 +88,7 @@ _FlowListCommand_instances = new WeakSet(), _FlowListCommand_initTelemetry = fun
88
88
  option: '-e, --environmentName <environmentName>'
89
89
  }, {
90
90
  option: '--sharingStatus [sharingStatus]',
91
- autocomplete: this.allowedSharingStatusses
91
+ autocomplete: this.allowedSharingStatuses
92
92
  }, {
93
93
  option: '--asAdmin'
94
94
  });
@@ -97,8 +97,8 @@ _FlowListCommand_instances = new WeakSet(), _FlowListCommand_initTelemetry = fun
97
97
  if (args.options.asAdmin && args.options.sharingStatus) {
98
98
  return `The options asAdmin and sharingStatus cannot be specified together.`;
99
99
  }
100
- if (args.options.sharingStatus && !this.allowedSharingStatusses.some(status => status === args.options.sharingStatus)) {
101
- return `${args.options.sharingStatus} is not a valid sharing status. Allowed values are: ${this.allowedSharingStatusses.join(',')}`;
100
+ if (args.options.sharingStatus && !this.allowedSharingStatuses.some(status => status === args.options.sharingStatus)) {
101
+ return `${args.options.sharingStatus} is not a valid sharing status. Allowed values are: ${this.allowedSharingStatuses.join(',')}`;
102
102
  }
103
103
  return true;
104
104
  }));
@@ -16,10 +16,13 @@ m365 flow list [options]
16
16
 
17
17
  ```md definition-list
18
18
  `-e, --environmentName <environmentName>`
19
- : The name of the environment for which to retrieve available flows
19
+ : The name of the environment for which to retrieve available flows.
20
+
21
+ `--sharingStatus [sharingStatus]`
22
+ : List a specific type of flows. Valid values: `ownedByMe`, `personal`, `sharedWithMe`, `all`. Defaults to `ownedByMe`. Don't specify this option when using asAdmin.
20
23
 
21
24
  `--asAdmin`
22
- : Set, to list all Flows as admin. Otherwise will return only your own flows
25
+ : Set, to list all Flows as admin. Otherwise will return only your own flows.
23
26
  ```
24
27
 
25
28
  <Global />
@@ -34,7 +37,12 @@ This command is based on an API that is currently in preview and is subject to c
34
37
 
35
38
  If the environment with the name you specified doesn't exist, you will get the `Access to the environment 'xyz' is denied.` error.
36
39
 
37
- By default, the `flow list` command returns only your flows. To list all flows, use the `asAdmin` option.
40
+ When you specify a value for `sharingStatus`, consider the following:
41
+
42
+ - `ownedByMe` returns all flows created by you regardless of whether they are shared or not.
43
+ - `personal` returns all flows created by you which are not shared.
44
+ - `sharedWithMe` returns flows that are shared with you, or created by you and shared with someone.
45
+ - `all` combines `personal` and `sharedWithMe`.
38
46
 
39
47
  ## Examples
40
48
 
@@ -30,9 +30,6 @@ m365 flow run list [options]
30
30
  `--triggerEndTime [triggerEndTime]`
31
31
  : Time indicating the exclusive end of a time range of flow runs to return. This should be defined as a valid ISO 8601 string (2021-12-16T18:28:48.6964197Z).
32
32
 
33
- `--sharingStatus [sharingStatus]`
34
- : List a specific type of flows. Valid values: `ownedByMe`, `personal`, `sharedWithMe`, `all`. Defaults to `ownedByMe`. Don't specify this option when using asAdmin.
35
-
36
33
  `--asAdmin`
37
34
  : Run the command as admin. Use this flag when targeting flows you don't own.
38
35
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pnp/cli-microsoft365",
3
- "version": "6.9.0-beta.6a23aba",
3
+ "version": "6.9.0-beta.91abae4",
4
4
  "description": "Manage Microsoft 365 and SharePoint Framework projects on any platform",
5
5
  "license": "MIT",
6
6
  "main": "./dist/api.js",