prodlysfcli 1.3.2 → 1.4.1
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/LICENSE.txt +200 -6
- package/README.md +133 -57
- package/lib/commands/prodly/releases.d.ts +19 -0
- package/lib/commands/prodly/releases.js +77 -0
- package/lib/commands/prodly/releases.js.map +1 -0
- package/lib/services/release-configurations.d.ts +6 -0
- package/lib/services/release-configurations.js +7 -0
- package/lib/services/release-configurations.js.map +1 -0
- package/lib/services/releases.d.ts +10 -0
- package/lib/services/releases.js +16 -0
- package/lib/services/releases.js.map +1 -0
- package/lib/types/prodly.d.ts +44 -0
- package/messages/prodly.json +6 -0
- package/messages/prodly.releases.md +12 -0
- package/npm-shrinkwrap.json +969 -959
- package/oclif.lock +1077 -1070
- package/oclif.manifest.json +141 -1
- package/package.json +12 -11
package/LICENSE.txt
CHANGED
|
@@ -1,12 +1,206 @@
|
|
|
1
|
-
|
|
1
|
+
Apache License Version 2.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Salesforce, Inc.
|
|
2
4
|
All rights reserved.
|
|
3
5
|
|
|
4
|
-
|
|
6
|
+
Apache License
|
|
7
|
+
Version 2.0, January 2004
|
|
8
|
+
http://www.apache.org/licenses/
|
|
9
|
+
|
|
10
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
11
|
+
|
|
12
|
+
1. Definitions.
|
|
13
|
+
|
|
14
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
15
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
16
|
+
|
|
17
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
18
|
+
the copyright owner that is granting the License.
|
|
19
|
+
|
|
20
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
21
|
+
other entities that control, are controlled by, or are under common
|
|
22
|
+
control with that entity. For the purposes of this definition,
|
|
23
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
24
|
+
direction or management of such entity, whether by contract or
|
|
25
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
26
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
27
|
+
|
|
28
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
29
|
+
exercising permissions granted by this License.
|
|
30
|
+
|
|
31
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
32
|
+
including but not limited to software source code, documentation
|
|
33
|
+
source, and configuration files.
|
|
34
|
+
|
|
35
|
+
"Object" form shall mean any form resulting from mechanical
|
|
36
|
+
transformation or translation of a Source form, including but
|
|
37
|
+
not limited to compiled object code, generated documentation,
|
|
38
|
+
and conversions to other media types.
|
|
39
|
+
|
|
40
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
41
|
+
Object form, made available under the License, as indicated by a
|
|
42
|
+
copyright notice that is included in or attached to the work
|
|
43
|
+
(an example is provided in the Appendix below).
|
|
44
|
+
|
|
45
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
46
|
+
form, that is based on (or derived from) the Work and for which the
|
|
47
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
48
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
49
|
+
of this License, Derivative Works shall not include works that remain
|
|
50
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
51
|
+
the Work and Derivative Works thereof.
|
|
52
|
+
|
|
53
|
+
"Contribution" shall mean any work of authorship, including
|
|
54
|
+
the original version of the Work and any modifications or additions
|
|
55
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
56
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
57
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
58
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
59
|
+
means any form of electronic, verbal, or written communication sent
|
|
60
|
+
to the Licensor or its representatives, including but not limited to
|
|
61
|
+
communication on electronic mailing lists, source code control systems,
|
|
62
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
63
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
64
|
+
excluding communication that is conspicuously marked or otherwise
|
|
65
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
66
|
+
|
|
67
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
68
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
69
|
+
subsequently incorporated within the Work.
|
|
70
|
+
|
|
71
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
72
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
73
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
74
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
75
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
76
|
+
Work and such Derivative Works in Source or Object form.
|
|
77
|
+
|
|
78
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
79
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
80
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
81
|
+
(except as stated in this section) patent license to make, have made,
|
|
82
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
83
|
+
where such license applies only to those patent claims licensable
|
|
84
|
+
by such Contributor that are necessarily infringed by their
|
|
85
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
86
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
87
|
+
institute patent litigation against any entity (including a
|
|
88
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
89
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
90
|
+
or contributory patent infringement, then any patent licenses
|
|
91
|
+
granted to You under this License for that Work shall terminate
|
|
92
|
+
as of the date such litigation is filed.
|
|
93
|
+
|
|
94
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
95
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
96
|
+
modifications, and in Source or Object form, provided that You
|
|
97
|
+
meet the following conditions:
|
|
98
|
+
|
|
99
|
+
(a) You must give any other recipients of the Work or
|
|
100
|
+
Derivative Works a copy of this License; and
|
|
101
|
+
|
|
102
|
+
(b) You must cause any modified files to carry prominent notices
|
|
103
|
+
stating that You changed the files; and
|
|
104
|
+
|
|
105
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
106
|
+
that You distribute, all copyright, patent, trademark, and
|
|
107
|
+
attribution notices from the Source form of the Work,
|
|
108
|
+
excluding those notices that do not pertain to any part of
|
|
109
|
+
the Derivative Works; and
|
|
110
|
+
|
|
111
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
112
|
+
distribution, then any Derivative Works that You distribute must
|
|
113
|
+
include a readable copy of the attribution notices contained
|
|
114
|
+
within such NOTICE file, excluding those notices that do not
|
|
115
|
+
pertain to any part of the Derivative Works, in at least one
|
|
116
|
+
of the following places: within a NOTICE text file distributed
|
|
117
|
+
as part of the Derivative Works; within the Source form or
|
|
118
|
+
documentation, if provided along with the Derivative Works; or,
|
|
119
|
+
within a display generated by the Derivative Works, if and
|
|
120
|
+
wherever such third-party notices normally appear. The contents
|
|
121
|
+
of the NOTICE file are for informational purposes only and
|
|
122
|
+
do not modify the License. You may add Your own attribution
|
|
123
|
+
notices within Derivative Works that You distribute, alongside
|
|
124
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
125
|
+
that such additional attribution notices cannot be construed
|
|
126
|
+
as modifying the License.
|
|
127
|
+
|
|
128
|
+
You may add Your own copyright statement to Your modifications and
|
|
129
|
+
may provide additional or different license terms and conditions
|
|
130
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
131
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
132
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
133
|
+
the conditions stated in this License.
|
|
134
|
+
|
|
135
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
136
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
137
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
138
|
+
this License, without any additional terms or conditions.
|
|
139
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
140
|
+
the terms of any separate license agreement you may have executed
|
|
141
|
+
with Licensor regarding such Contributions.
|
|
142
|
+
|
|
143
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
144
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
145
|
+
except as required for reasonable and customary use in describing the
|
|
146
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
147
|
+
|
|
148
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
149
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
150
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
151
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
152
|
+
implied, including, without limitation, any warranties or conditions
|
|
153
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
154
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
155
|
+
appropriateness of using or redistributing the Work and assume any
|
|
156
|
+
risks associated with Your exercise of permissions under this License.
|
|
157
|
+
|
|
158
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
159
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
160
|
+
unless required by applicable law (such as deliberate and grossly
|
|
161
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
162
|
+
liable to You for damages, including any direct, indirect, special,
|
|
163
|
+
incidental, or consequential damages of any character arising as a
|
|
164
|
+
result of this License or out of the use or inability to use the
|
|
165
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
166
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
167
|
+
other commercial damages or losses), even if such Contributor
|
|
168
|
+
has been advised of the possibility of such damages.
|
|
169
|
+
|
|
170
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
171
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
172
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
173
|
+
or other liability obligations and/or rights consistent with this
|
|
174
|
+
License. However, in accepting such obligations, You may act only
|
|
175
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
176
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
177
|
+
defend, and hold each Contributor harmless for any liability
|
|
178
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
179
|
+
of your accepting any such warranty or additional liability.
|
|
180
|
+
|
|
181
|
+
END OF TERMS AND CONDITIONS
|
|
182
|
+
|
|
183
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
184
|
+
|
|
185
|
+
To apply the Apache License to your work, attach the following
|
|
186
|
+
boilerplate notice, with the fields enclosed by brackets "{}"
|
|
187
|
+
replaced with your own identifying information. (Don't include
|
|
188
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
189
|
+
comment syntax for the file format. We also recommend that a
|
|
190
|
+
file or class name and description of purpose be included on the
|
|
191
|
+
same "printed page" as the copyright notice for easier
|
|
192
|
+
identification within third-party archives.
|
|
5
193
|
|
|
6
|
-
|
|
194
|
+
Copyright {yyyy} {name of copyright owner}
|
|
7
195
|
|
|
8
|
-
|
|
196
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
197
|
+
you may not use this file except in compliance with the License.
|
|
198
|
+
You may obtain a copy of the License at
|
|
9
199
|
|
|
10
|
-
|
|
200
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
11
201
|
|
|
12
|
-
|
|
202
|
+
Unless required by applicable law or agreed to in writing, software
|
|
203
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
204
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
205
|
+
See the License for the specific language governing permissions and
|
|
206
|
+
limitations under the License.
|
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# prodlysfcli
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/prodlysfcli) [](https://npmjs.org/package/prodlysfcli) [](https://www.npmjs.com/package/prodlysfcli) [](https://npmjs.org/package/prodlysfcli) [](https://opensource.org/license/apache-2-0)
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
@@ -41,21 +41,22 @@ sf plugins
|
|
|
41
41
|
## Commands
|
|
42
42
|
|
|
43
43
|
<!-- commands -->
|
|
44
|
+
* [`sf prodly change-types`](#sf-prodly-change-types)
|
|
45
|
+
* [`sf prodly checkin`](#sf-prodly-checkin)
|
|
46
|
+
* [`sf prodly checkout`](#sf-prodly-checkout)
|
|
47
|
+
* [`sf prodly deploy`](#sf-prodly-deploy)
|
|
48
|
+
* [`sf prodly jobs`](#sf-prodly-jobs)
|
|
49
|
+
* [`sf prodly manage`](#sf-prodly-manage)
|
|
50
|
+
* [`sf prodly releases`](#sf-prodly-releases)
|
|
51
|
+
* [`sf prodly version`](#sf-prodly-version)
|
|
44
52
|
|
|
45
|
-
|
|
46
|
-
- [`sf prodly:checkin`](#sf-prodlycheckin)
|
|
47
|
-
- [`sf prodly:checkout`](#sf-prodlycheckout)
|
|
48
|
-
- [`sf prodly:deploy`](#sf-prodlydeploy)
|
|
49
|
-
- [`sf prodly:manage`](#sf-prodlymanage)
|
|
50
|
-
- [`sf prodly:jobs`](#sf-prodlyjobs)
|
|
51
|
-
|
|
52
|
-
## `sf prodly:change-types`
|
|
53
|
+
## `sf prodly change-types`
|
|
53
54
|
|
|
54
55
|
prodly:change-types command
|
|
55
56
|
|
|
56
57
|
```
|
|
57
58
|
USAGE
|
|
58
|
-
$ sf prodly
|
|
59
|
+
$ sf prodly change-types -v <value> [--json] [--flags-dir <value>] [--api-version <value>] [-t <value>] [-l] [-c] [-n
|
|
59
60
|
<value>] [-u <value>]
|
|
60
61
|
|
|
61
62
|
FLAGS
|
|
@@ -69,6 +70,7 @@ FLAGS
|
|
|
69
70
|
--api-version=<value> Override the api version used for api requests made by this command
|
|
70
71
|
|
|
71
72
|
GLOBAL FLAGS
|
|
73
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
72
74
|
--json Format output as json.
|
|
73
75
|
|
|
74
76
|
DESCRIPTION
|
|
@@ -87,28 +89,33 @@ EXAMPLES
|
|
|
87
89
|
Creates a scratch org based on a change type
|
|
88
90
|
```
|
|
89
91
|
|
|
90
|
-
|
|
92
|
+
_See code: [src/commands/prodly/change-types.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/change-types.ts)_
|
|
93
|
+
|
|
94
|
+
## `sf prodly checkin`
|
|
95
|
+
|
|
96
|
+
prodly:checkin command
|
|
91
97
|
|
|
92
98
|
```
|
|
93
99
|
USAGE
|
|
94
|
-
$ sf prodly
|
|
95
|
-
<value>] [-p <value>]
|
|
100
|
+
$ sf prodly checkin -v <value> -o <value> -c <value> [--json] [--flags-dir <value>] [-b <value>] [-t <value>] [-q
|
|
101
|
+
<value>] [-i <value>] [-z <value>] [-p <value>]
|
|
96
102
|
|
|
97
103
|
FLAGS
|
|
98
104
|
-b, --branch=<value> branch name for deployment
|
|
99
105
|
-c, --comment=<value> (required) comment for the command versioning commit
|
|
100
106
|
-i, --instance=<value> managed instance ID on which to perform the action
|
|
101
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not
|
|
102
|
-
|
|
107
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
108
|
+
configuration variable is already set.
|
|
103
109
|
-p, --plan=<value> name or record ID of the deployment plan to deploy
|
|
104
110
|
-q, --filter=<value> query filter override for a data set deployment
|
|
105
111
|
-t, --dataset=<value> name or record ID of the data set to deploy
|
|
106
|
-
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not
|
|
107
|
-
|
|
112
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
113
|
+
configuration variable is already set.
|
|
108
114
|
-z, --notes=<value> notes for the deployment
|
|
109
115
|
|
|
110
116
|
GLOBAL FLAGS
|
|
111
|
-
--
|
|
117
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
118
|
+
--json Format output as json.
|
|
112
119
|
|
|
113
120
|
DESCRIPTION
|
|
114
121
|
prodly:checkin command
|
|
@@ -129,29 +136,34 @@ EXAMPLES
|
|
|
129
136
|
The instance should be managed by the Prodly account associated with the default DevHub control org.
|
|
130
137
|
```
|
|
131
138
|
|
|
132
|
-
|
|
139
|
+
_See code: [src/commands/prodly/checkin.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/checkin.ts)_
|
|
140
|
+
|
|
141
|
+
## `sf prodly checkout`
|
|
142
|
+
|
|
143
|
+
prodly:checkout command
|
|
133
144
|
|
|
134
145
|
```
|
|
135
146
|
USAGE
|
|
136
|
-
$ sf prodly
|
|
137
|
-
<value>] [-p <value>]
|
|
147
|
+
$ sf prodly checkout -v <value> -o <value> [--json] [--flags-dir <value>] [-b <value>] [-t <value>] [-e] [-q
|
|
148
|
+
<value>] [-i <value>] [-n <value>] [-z <value>] [-p <value>]
|
|
138
149
|
|
|
139
150
|
FLAGS
|
|
140
151
|
-b, --branch=<value> branch name for deployment
|
|
141
152
|
-e, --deactivate deactivate all events for the deployment
|
|
142
153
|
-i, --instance=<value> managed instance ID on which to perform the action
|
|
143
154
|
-n, --name=<value> name for the deployment
|
|
144
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not
|
|
145
|
-
|
|
155
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
156
|
+
configuration variable is already set.
|
|
146
157
|
-p, --plan=<value> name or record ID of the deployment plan to deploy
|
|
147
158
|
-q, --filter=<value> query filter override for a data set deployment
|
|
148
159
|
-t, --dataset=<value> name or record ID of the data set to deploy
|
|
149
|
-
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not
|
|
150
|
-
|
|
160
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
161
|
+
configuration variable is already set.
|
|
151
162
|
-z, --notes=<value> notes for the deployment
|
|
152
163
|
|
|
153
164
|
GLOBAL FLAGS
|
|
154
|
-
--
|
|
165
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
166
|
+
--json Format output as json.
|
|
155
167
|
|
|
156
168
|
DESCRIPTION
|
|
157
169
|
prodly:checkout command
|
|
@@ -172,12 +184,16 @@ EXAMPLES
|
|
|
172
184
|
The instance should be managed by the Prodly account associated with the default DevHub control org.
|
|
173
185
|
```
|
|
174
186
|
|
|
175
|
-
|
|
187
|
+
_See code: [src/commands/prodly/checkout.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/checkout.ts)_
|
|
188
|
+
|
|
189
|
+
## `sf prodly deploy`
|
|
190
|
+
|
|
191
|
+
prodly:deploy command
|
|
176
192
|
|
|
177
193
|
```
|
|
178
194
|
USAGE
|
|
179
|
-
$ sf prodly
|
|
180
|
-
<value>] [-z <value>] [-p <value>] [-l] [-s <value>]
|
|
195
|
+
$ sf prodly deploy -v <value> -o <value> [--json] [--flags-dir <value>] [-t <value>] [-e] [-d <value>] [-q
|
|
196
|
+
<value>] [-b <value>] [-n <value>] [-z <value>] [-p <value>] [-l] [-s <value>]
|
|
181
197
|
|
|
182
198
|
FLAGS
|
|
183
199
|
-b, --label=<value> connection and managed instance name
|
|
@@ -185,18 +201,19 @@ FLAGS
|
|
|
185
201
|
-e, --deactivate deactivate all events for the deployment
|
|
186
202
|
-l, --simulation perform a data simulation
|
|
187
203
|
-n, --name=<value> name for the deployment
|
|
188
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not
|
|
189
|
-
|
|
204
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
205
|
+
configuration variable is already set.
|
|
190
206
|
-p, --plan=<value> name or record ID of the deployment plan to deploy
|
|
191
207
|
-q, --filter=<value> query filter override for a data set deployment
|
|
192
208
|
-s, --source=<value> source managed instance ID
|
|
193
209
|
-t, --dataset=<value> name or record ID of the data set to deploy
|
|
194
|
-
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not
|
|
195
|
-
|
|
210
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
211
|
+
configuration variable is already set.
|
|
196
212
|
-z, --notes=<value> notes for the deployment
|
|
197
213
|
|
|
198
214
|
GLOBAL FLAGS
|
|
199
|
-
--
|
|
215
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
216
|
+
--json Format output as json.
|
|
200
217
|
|
|
201
218
|
DESCRIPTION
|
|
202
219
|
prodly:deploy command
|
|
@@ -206,7 +223,6 @@ DESCRIPTION
|
|
|
206
223
|
EXAMPLES
|
|
207
224
|
$ sf prodly:deploy -n scratchorg --target-org FixesScratchOrg -v MainDevHub
|
|
208
225
|
Command output... deploying from the dev hub, the control org, to the scratch org, auto managed with provided name.
|
|
209
|
-
Command output...
|
|
210
226
|
|
|
211
227
|
$ sf prodly:deploy --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com
|
|
212
228
|
Command output... deploying from the dev hub, the control org, to the scratch org. Long param names.
|
|
@@ -218,12 +234,45 @@ EXAMPLES
|
|
|
218
234
|
Command output... deploying to the scratch org from the UAT sandbox, using the named connection record in the dev hub, control org. Long param names.
|
|
219
235
|
```
|
|
220
236
|
|
|
221
|
-
|
|
237
|
+
_See code: [src/commands/prodly/deploy.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/deploy.ts)_
|
|
238
|
+
|
|
239
|
+
## `sf prodly jobs`
|
|
240
|
+
|
|
241
|
+
prodly:jobs command
|
|
242
|
+
|
|
243
|
+
```
|
|
244
|
+
USAGE
|
|
245
|
+
$ sf prodly jobs -v <value> -j <value> [--json] [--flags-dir <value>]
|
|
246
|
+
|
|
247
|
+
FLAGS
|
|
248
|
+
-j, --job=<value> (required) Prodly Job ID
|
|
249
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
250
|
+
configuration variable is already set.
|
|
251
|
+
|
|
252
|
+
GLOBAL FLAGS
|
|
253
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
254
|
+
--json Format output as json.
|
|
255
|
+
|
|
256
|
+
DESCRIPTION
|
|
257
|
+
prodly:jobs command
|
|
258
|
+
|
|
259
|
+
Check the job status.
|
|
260
|
+
|
|
261
|
+
EXAMPLES
|
|
262
|
+
$ sf prodly:jobs -j jobId -v MainDevHub
|
|
263
|
+
Print the job status for the provided job Id.
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
_See code: [src/commands/prodly/jobs.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/jobs.ts)_
|
|
267
|
+
|
|
268
|
+
## `sf prodly manage`
|
|
269
|
+
|
|
270
|
+
prodly:manage command
|
|
222
271
|
|
|
223
272
|
```
|
|
224
273
|
USAGE
|
|
225
|
-
$ sf prodly
|
|
226
|
-
[-p] [-x] [-s]
|
|
274
|
+
$ sf prodly manage -v <value> -o <value> [--json] [--flags-dir <value>] [-c <value>] [-n <value>] [-i <value>]
|
|
275
|
+
[-b <value>] [-l] [-m] [-p] [-x] [-s]
|
|
227
276
|
|
|
228
277
|
FLAGS
|
|
229
278
|
-b, --label=<value> connection and managed instance name
|
|
@@ -232,22 +281,24 @@ FLAGS
|
|
|
232
281
|
-l, --list list all managed instances
|
|
233
282
|
-m, --manage manage a new instance
|
|
234
283
|
-n, --connection=<value> connection to use for the managed instance
|
|
235
|
-
-o, --target-org=<value> (required) Username or alias of the target org. Not
|
|
236
|
-
|
|
284
|
+
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
|
|
285
|
+
configuration variable is already set.
|
|
237
286
|
-p, --print print the managed instances in a standard format in addition to returning structured
|
|
238
287
|
data
|
|
239
288
|
-s, --version version the new managed instance, branch created and data deployed to the org
|
|
240
|
-
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not
|
|
241
|
-
|
|
289
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
290
|
+
configuration variable is already set.
|
|
242
291
|
-x, --unmanage unmanage the specified instance
|
|
243
292
|
|
|
244
293
|
GLOBAL FLAGS
|
|
245
|
-
--
|
|
294
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
295
|
+
--json Format output as json.
|
|
246
296
|
|
|
247
297
|
DESCRIPTION
|
|
248
298
|
prodly:manage command
|
|
249
299
|
|
|
250
|
-
Authorize (or unauthorize) a Salesforce environment (not already added to the Environments page in Release tab) for
|
|
300
|
+
Authorize (or unauthorize) a Salesforce environment (not already added to the Environments page in Release tab) for
|
|
301
|
+
use by the plugin.
|
|
251
302
|
|
|
252
303
|
EXAMPLES
|
|
253
304
|
$ sf prodly:manage -l -p
|
|
@@ -258,38 +309,57 @@ EXAMPLES
|
|
|
258
309
|
|
|
259
310
|
$ sf prodly:manage -m --target-org test-utxac7gbati9@example.com -n dev7sbx
|
|
260
311
|
Manage and version the org associated with the target username under the Prodly account associated with the default DevHub control org.
|
|
261
|
-
|
|
262
312
|
```
|
|
263
313
|
|
|
264
|
-
|
|
314
|
+
_See code: [src/commands/prodly/manage.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/manage.ts)_
|
|
315
|
+
|
|
316
|
+
## `sf prodly releases`
|
|
317
|
+
|
|
318
|
+
prodly:releases command
|
|
265
319
|
|
|
266
320
|
```
|
|
267
321
|
USAGE
|
|
268
|
-
$ sf prodly
|
|
322
|
+
$ sf prodly releases -v <value> [--json] [--flags-dir <value>] [--api-version <value>] [-a] [-l | [-d -i <value> -r
|
|
323
|
+
<value>] | ] [-n]
|
|
269
324
|
|
|
270
325
|
FLAGS
|
|
271
|
-
-
|
|
272
|
-
-
|
|
273
|
-
|
|
326
|
+
-a, --deactivate-all-events deactivate all events for the release
|
|
327
|
+
-d, --deploy deploy a release
|
|
328
|
+
-i, --instance=<value> managed instance ID on which to perform the action
|
|
329
|
+
-l, --list list all releases
|
|
330
|
+
-n, --validation perform a data/metadata validation
|
|
331
|
+
-r, --release-id=<value> release Id to deploy
|
|
332
|
+
-v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not required if the `target-dev-hub`
|
|
333
|
+
configuration variable is already set.
|
|
334
|
+
--api-version=<value> Override the api version used for api requests made by this command
|
|
274
335
|
|
|
275
336
|
GLOBAL FLAGS
|
|
276
|
-
--
|
|
337
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
338
|
+
--json Format output as json.
|
|
277
339
|
|
|
278
340
|
DESCRIPTION
|
|
279
|
-
prodly:
|
|
341
|
+
prodly:releases command
|
|
280
342
|
|
|
281
|
-
|
|
343
|
+
List all releases and deploys a release.
|
|
282
344
|
|
|
283
345
|
EXAMPLES
|
|
284
|
-
$ sf prodly:
|
|
285
|
-
|
|
346
|
+
$ sf prodly:releases --target-dev-hub jsmith@acme.com -l
|
|
347
|
+
Lists all the releases
|
|
348
|
+
|
|
349
|
+
$ sf prodly:releases --target-dev-hub jsmith@acme.com -d -i "f50616b6-57b1-4941-802f-ee0e2506f217" -r "a5H6e0000024xKUEAY"
|
|
350
|
+
Creates a release given a release id and a destination instance id
|
|
351
|
+
The instance should be managed by the Prodly account associated with the default DevHub control org.
|
|
286
352
|
```
|
|
287
353
|
|
|
288
|
-
|
|
354
|
+
_See code: [src/commands/prodly/releases.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/releases.ts)_
|
|
355
|
+
|
|
356
|
+
## `sf prodly version`
|
|
357
|
+
|
|
358
|
+
prodly:version command
|
|
289
359
|
|
|
290
360
|
```
|
|
291
361
|
USAGE
|
|
292
|
-
$ sf prodly
|
|
362
|
+
$ sf prodly version -v <value> -o <value> [--json] [--flags-dir <value>] [-b <value>] [-s <value>] [-i <value>]
|
|
293
363
|
[-x]
|
|
294
364
|
|
|
295
365
|
FLAGS
|
|
@@ -304,6 +374,7 @@ FLAGS
|
|
|
304
374
|
-x, --unlink unlink the branch from the managed instance
|
|
305
375
|
|
|
306
376
|
GLOBAL FLAGS
|
|
377
|
+
--flags-dir=<value> Import flag values from a directory.
|
|
307
378
|
--json Format output as json.
|
|
308
379
|
|
|
309
380
|
DESCRIPTION
|
|
@@ -319,8 +390,13 @@ EXAMPLES
|
|
|
319
390
|
$ sf prodly:version -s main -b cli-branch -i f50616b6-57b1-4941-802f-ee0e2506f217
|
|
320
391
|
Add version control to the managed instance identified by the provided ID. Use the "main" branch as a base for a new branch called "cli-branch"
|
|
321
392
|
The instance should be managed by the Prodly account associated with the default DevHub control org.
|
|
393
|
+
|
|
394
|
+
$ sf prodly:version -x -i f50616b6-57b1-4941-802f-ee0e2506f217
|
|
395
|
+
Remove version control from the managed instance identified by the provided ID.
|
|
396
|
+
The instance should be managed by the Prodly account associated with the default DevHub control org.
|
|
322
397
|
```
|
|
323
398
|
|
|
399
|
+
_See code: [src/commands/prodly/version.ts](https://github.com/prodly/prodly-sf-cli/blob/v1.4.0/src/commands/prodly/version.ts)_
|
|
324
400
|
<!-- commandsstop -->
|
|
325
401
|
|
|
326
402
|
<!-- debugging-your-plugin -->
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { SfCommand } from '@salesforce/sf-plugins-core';
|
|
2
|
+
import { JSONObject } from '../../types/generic.js';
|
|
3
|
+
export default class ProdlyReleases extends SfCommand<JSONObject> {
|
|
4
|
+
static readonly summary: string;
|
|
5
|
+
static readonly description: string;
|
|
6
|
+
static readonly examples: string[];
|
|
7
|
+
static readonly flags: {
|
|
8
|
+
'api-version': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
9
|
+
'target-dev-hub': import("@oclif/core/interfaces").OptionFlag<import("@salesforce/core").Org, import("@oclif/core/interfaces").CustomOptions>;
|
|
10
|
+
'deactivate-all-events': import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
11
|
+
'release-id': import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
12
|
+
deploy: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
13
|
+
instance: import("@oclif/core/interfaces").OptionFlag<string | undefined, import("@oclif/core/interfaces").CustomOptions>;
|
|
14
|
+
list: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
15
|
+
validation: import("@oclif/core/interfaces").BooleanFlag<boolean>;
|
|
16
|
+
};
|
|
17
|
+
run(): Promise<JSONObject>;
|
|
18
|
+
private logRelease;
|
|
19
|
+
}
|