You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+57-16Lines changed: 57 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
91
91
92
92
```bash
93
93
# Run using local run file.
94
-
./bin/dev hello world
94
+
./bin/dev license provision
95
95
```
96
96
97
97
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine.
@@ -107,43 +107,84 @@ sf plugins
107
107
108
108
<!-- commands -->
109
109
110
-
-[`sf hello world`](#sf-hello-world)
110
+
-[`sf license provision`](#sf-license-provision)
111
111
112
-
## `sf hello world`
112
+
## `sf license provision`
113
113
114
-
Say hello.
114
+
Provision Permission Set Licenses (PSL) into a target org.
115
115
116
116
```
117
117
USAGE
118
-
$ sf hello world [--json] [--flags-dir <value>] [-n <value>]
-o, --target-org=<value> (required) Username or alias of the target org.
126
+
-q, --quantity=<value> Number of licenses to provision.
127
+
-s, --start-date=<value> License start date in YYYY-MM-DD format. Defaults to today.
128
+
--api-version=<value> Override the api version used for api requests made by this command.
122
129
123
130
GLOBAL FLAGS
124
131
--flags-dir=<value> Import flag values from a directory.
125
132
--json Format output as json.
126
133
127
134
DESCRIPTION
128
-
Say hello.
135
+
Provision Permission Set Licenses (PSL) into the target org. Successful execution sets the quantity of seats for the given PSL in the indicated org.
129
136
130
-
Say hello either to the world or someone you know.
137
+
There are two ways to run this command. You can provide the information to identify a single PSL via command line flags, or provision multiple PSLs in a single call by supplying a JSON formatted file.
138
+
139
+
See <Add URL Here> for the format and options contained within the JSON file.
131
140
132
141
EXAMPLES
133
-
Say hello to the world:
142
+
Provision a single Permission Set License into an org:
Provision Permission Set Licenses (PSL) into a target org.
4
+
5
+
# description
6
+
7
+
Provision Permission Set Licenses (PSL) into the target org. Successful execution sets the quantity of seats for the given PSL in the indicated org.
8
+
9
+
There are two ways to run this command. You can provide the information to identify a single PSL via command line flags, or provision multiple PSLs in a single call by supplying a JSON formatted file.
10
+
11
+
See <AddURLHere> for the format and options contained within the JSON file.
12
+
13
+
# flags.namespace.summary
14
+
15
+
License package namespace.
16
+
17
+
# flags.license.summary
18
+
19
+
Permission Set License name.
20
+
21
+
# flags.quantity.summary
22
+
23
+
Number of licenses to provision.
24
+
25
+
# flags.start-date.summary
26
+
27
+
License start date in YYYY-MM-DD format. Defaults to today.
28
+
29
+
# flags.end-date.summary
30
+
31
+
License end date in YYYY-MM-DD format. Default is no expiration.
32
+
33
+
# flags.definition-file.summary
34
+
35
+
Path to a JSON file that contains the PSL provisioning request information.
36
+
37
+
# examples
38
+
39
+
- Provision a single Permission Set License into an org:
0 commit comments