prodlysfcli 1.0.1 → 1.2.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.
Files changed (62) hide show
  1. package/README.md +42 -6
  2. package/messages/prodly.checkout.md +6 -6
  3. package/messages/prodly.json +12 -3
  4. package/messages/prodly.version.md +12 -0
  5. package/npm-shrinkwrap.json +13051 -0
  6. package/oclif.lock +3206 -5092
  7. package/oclif.manifest.json +2 -555
  8. package/package.json +11 -11
  9. package/lib/commands/prodly/checkin.d.ts +0 -19
  10. package/lib/commands/prodly/checkin.js +0 -123
  11. package/lib/commands/prodly/checkin.js.map +0 -1
  12. package/lib/commands/prodly/checkout.d.ts +0 -20
  13. package/lib/commands/prodly/checkout.js +0 -130
  14. package/lib/commands/prodly/checkout.js.map +0 -1
  15. package/lib/commands/prodly/deploy.d.ts +0 -26
  16. package/lib/commands/prodly/deploy.js +0 -262
  17. package/lib/commands/prodly/deploy.js.map +0 -1
  18. package/lib/commands/prodly/jobs.d.ts +0 -15
  19. package/lib/commands/prodly/jobs.js +0 -33
  20. package/lib/commands/prodly/jobs.js.map +0 -1
  21. package/lib/commands/prodly/manage.d.ts +0 -24
  22. package/lib/commands/prodly/manage.js +0 -167
  23. package/lib/commands/prodly/manage.js.map +0 -1
  24. package/lib/constants/index.d.ts +0 -5
  25. package/lib/constants/index.js +0 -6
  26. package/lib/constants/index.js.map +0 -1
  27. package/lib/index.d.ts +0 -2
  28. package/lib/index.js +0 -2
  29. package/lib/index.js.map +0 -1
  30. package/lib/services/connections.d.ts +0 -7
  31. package/lib/services/connections.js +0 -109
  32. package/lib/services/connections.js.map +0 -1
  33. package/lib/services/connections.types.d.ts +0 -31
  34. package/lib/services/connections.types.js +0 -2
  35. package/lib/services/connections.types.js.map +0 -1
  36. package/lib/services/jobs.d.ts +0 -4
  37. package/lib/services/jobs.js +0 -26
  38. package/lib/services/jobs.js.map +0 -1
  39. package/lib/services/jobs.types.d.ts +0 -13
  40. package/lib/services/jobs.types.js +0 -2
  41. package/lib/services/jobs.types.js.map +0 -1
  42. package/lib/services/manage-instances.d.ts +0 -7
  43. package/lib/services/manage-instances.js +0 -94
  44. package/lib/services/manage-instances.js.map +0 -1
  45. package/lib/services/manage-instances.types.d.ts +0 -40
  46. package/lib/services/manage-instances.types.js +0 -2
  47. package/lib/services/manage-instances.types.js.map +0 -1
  48. package/lib/services/queries.d.ts +0 -8
  49. package/lib/services/queries.js +0 -54
  50. package/lib/services/queries.js.map +0 -1
  51. package/lib/types/generic.d.ts +0 -7
  52. package/lib/types/generic.js +0 -2
  53. package/lib/types/generic.js.map +0 -1
  54. package/lib/types/prodly.d.ts +0 -67
  55. package/lib/types/prodly.js +0 -2
  56. package/lib/types/prodly.js.map +0 -1
  57. package/lib/types/salesforce.d.ts +0 -14
  58. package/lib/types/salesforce.js +0 -2
  59. package/lib/types/salesforce.js.map +0 -1
  60. package/lib/utils/index.d.ts +0 -2
  61. package/lib/utils/index.js +0 -3
  62. package/lib/utils/index.js.map +0 -1
package/README.md CHANGED
@@ -62,6 +62,7 @@ FLAGS
62
62
  -o, --target-org=<value> (required) Username or alias of the target org. Not
63
63
  required if the `target-org` configuration variable is already set.
64
64
  -p, --plan=<value> name or record ID of the deployment plan to deploy
65
+ -q, --filter=<value> query filter override for a data set deployment
65
66
  -t, --dataset=<value> name or record ID of the data set to deploy
66
67
  -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not
67
68
  required if the `target-dev-hub` configuration variable is already set.
@@ -73,7 +74,7 @@ GLOBAL FLAGS
73
74
  DESCRIPTION
74
75
  prodly:checkin command
75
76
 
76
- Launches an Prodly relational data deployment.
77
+ Save data from a Salesforce environment to a VCS repository branch.
77
78
 
78
79
  EXAMPLES
79
80
  $ sf prodly:checkin --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com
@@ -104,6 +105,7 @@ FLAGS
104
105
  -o, --target-org=<value> (required) Username or alias of the target org. Not
105
106
  required if the `target-org` configuration variable is already set.
106
107
  -p, --plan=<value> name or record ID of the deployment plan to deploy
108
+ -q, --filter=<value> query filter override for a data set deployment
107
109
  -t, --dataset=<value> name or record ID of the data set to deploy
108
110
  -v, --target-dev-hub=<value> (required) Username or alias of the Dev Hub org. Not
109
111
  required if the `target-dev-hub` configuration variable is already set.
@@ -115,7 +117,7 @@ GLOBAL FLAGS
115
117
  DESCRIPTION
116
118
  prodly:checkout command
117
119
 
118
- Launches an Prodly relational data deployment.
120
+ Deploy data from a VCS repository branch to a Salesforce environment.
119
121
 
120
122
  EXAMPLES
121
123
  $ sf prodly:checkin --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com
@@ -160,7 +162,7 @@ GLOBAL FLAGS
160
162
  DESCRIPTION
161
163
  prodly:deploy command
162
164
 
163
- Launches an Prodly relational data deployment.
165
+ Deploy data from one Salesforce environment directly to another Salesforce environment.
164
166
 
165
167
  EXAMPLES
166
168
  $ sf prodly:deploy -n scratchorg -u FixesScratchOrg -v MainDevHub
@@ -206,7 +208,7 @@ GLOBAL FLAGS
206
208
  DESCRIPTION
207
209
  prodly:manage command
208
210
 
209
- Launches an Prodly relational data deployment.
211
+ Authorize (or unauthorize) a Salesforce environment (not already added to the Environments page in Release tab) for use by the plugin.
210
212
 
211
213
  EXAMPLES
212
214
  $ sf prodly:manage -l -p
@@ -224,7 +226,7 @@ EXAMPLES
224
226
 
225
227
  ```
226
228
  USAGE
227
- $ sf prodly jobs -v <value> -j <value> [--json]
229
+ $ sf prodly:jobs -v <value> -j <value> [--json]
228
230
 
229
231
  FLAGS
230
232
  -j, --job=<value> (required) Prodly Job ID
@@ -237,13 +239,47 @@ GLOBAL FLAGS
237
239
  DESCRIPTION
238
240
  prodly:jobs command
239
241
 
240
- Launches an Prodly relational data deployment.
242
+ Check the job status.
241
243
 
242
244
  EXAMPLES
243
245
  $ sf prodly:jobs -j jobId -v MainDevHub
244
246
  Print the job status for the provided job Id.
245
247
  ```
246
248
 
249
+ ## `sf prodly:version`
250
+
251
+ ```
252
+ USAGE
253
+ $ sf prodly:version -s <value> -v <value> -o <value> [--json] [-b <value>] [-i <value>]
254
+
255
+ FLAGS
256
+ -b, --new-branch=<value> if provided it creates a new branch based on the source branch that will be used for
257
+ version control
258
+ -i, --instance=<value> managed instance ID on which to perform the action
259
+ -o, --target-org=<value> (required) [default: aandreou@prodly.co.appopsqa3] Username or alias of the target org.
260
+ Not required if the `target-org` configuration variable is already set.
261
+ -s, --source-branch=<value> (required) the version control branch or the base for the new branch (if provided)
262
+ -v, --target-dev-hub=<value> (required) [default: aandreou@prodly.co.appopsqa3] Username or alias of the Dev Hub org.
263
+ Not required if the `target-dev-hub` configuration variable is already set.
264
+
265
+ GLOBAL FLAGS
266
+ --json Format output as json.
267
+
268
+ DESCRIPTION
269
+ prodly:version command
270
+
271
+ Adds version control to a managed environment.
272
+
273
+ EXAMPLES
274
+ $ sf prodly:version -s main
275
+ Add version control to the managed instance identified by the target org. Use the "main" branch.
276
+ The instance should be managed by the Prodly account associated with the default DevHub control org.
277
+
278
+ $ sf prodly:version -s main -b cli-branch -i f50616b6-57b1-4941-802f-ee0e2506f217
279
+ 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"
280
+ The instance should be managed by the Prodly account associated with the default DevHub control org.
281
+ ```
282
+
247
283
  <!-- commandsstop -->
248
284
 
249
285
  <!-- debugging-your-plugin -->
@@ -4,12 +4,12 @@ prodly:checkout command
4
4
 
5
5
  # examples
6
6
 
7
- - <%= config.bin %> prodly:checkin --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com
8
- Save managed data to the branch associated with the managed instance identified by the target username.
7
+ - <%= config.bin %> prodly:checkout --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com
8
+ Deploy managed data to the managed instance identified by the target org from the associated branch.
9
9
  The instance should be managed by the Prodly account associated with the provided DevHub control org.
10
- - <%= config.bin %> prodly:checkin -u test-utxac7gbati9@example.com
11
- Save managed data to the branch associated with the managed instance identified by the target username.
10
+ - <%= config.bin %> prodly:checkout -u test-utxac7gbati9@example.com
11
+ Deploy managed data to the managed instance org identified by the target username from the associated branch.
12
12
  The instance should be managed by the Prodly account associated with the default DevHub control org.
13
- - <%= config.bin %> prodly:checkin -i f50616b6-57b1-4941-802f-ee0e2506f217
14
- Save managed data to the branch associated with the managed instance identified by the provided ID.
13
+ - <%= config.bin %> prodly:checkout -i f50616b6-57b1-4941-802f-ee0e2506f217
14
+ Deploy managed data to the managed instance org from the associated branch.
15
15
  The instance should be managed by the Prodly account associated with the default DevHub control org.
@@ -1,6 +1,5 @@
1
1
  {
2
2
  "branchFlagDescription": "branch name for deployment",
3
- "commandDescription": "Launches an Prodly relational data deployment.",
4
3
  "commentFlagDescription": "comment for the command versioning commit",
5
4
  "connectionFlagDescription": "connection to use for the managed instance",
6
5
  "dataSetFlagDescription": "name or record ID of the data set to deploy",
@@ -10,16 +9,18 @@
10
9
  "destinationFlagDescription": "destination managed instance ID",
11
10
  "instanceFlagDescription": "managed instance ID on which to perform the action",
12
11
  "instanceNameFlagDescription": "connection and managed instance name",
12
+ "jobIdFlagSummary": "Prodly Job ID",
13
13
  "listFlagDescription": "list all managed instances",
14
14
  "manageFlagDescription": "manage a new instance",
15
+ "newBranchFlagSummary": "if provided it creates a new branch based on the source branch that will be used for version control",
15
16
  "notesFlagDescription": "notes for the deployment",
16
17
  "printFlagDescription": "print the managed instances in a standard format in addition to returning structured data",
17
18
  "queryFilterFlagDescription": "query filter override for a data set deployment",
18
19
  "simulationFlagDescription": "perform a data simulation",
20
+ "sourceBranchFlagSummary": "the version control branch or the base for the new branch (if provided)",
19
21
  "sourceFlagDescription": "source managed instance ID",
20
22
  "unmanageFlagDescription": "unmanage the specified instance",
21
23
  "versionFlagDescription": "version the new managed instance, branch created and data deployed to the org",
22
- "jobIdFlagSummary": "Prodly Job ID",
23
24
 
24
25
  "errorDatasetAndPlanFlags": "Specify either the data set or deployment plan parameter, but not both.",
25
26
  "errorDeploymentNameFlag": "Deployment name flag is required.",
@@ -37,7 +38,15 @@
37
38
  "errorNoManageFlags": "No operation flag specified for the manage command",
38
39
  "errorNoOrgWithManageFlags": "No org specified with the manage flag",
39
40
  "errorPrintFlagNoListFlag": "Print flag only specified with the list operation flag",
41
+ "errorQueryFilterFlag": "Query filter flag is only applicable for data set deployment",
40
42
  "errorVersionFlagNoManageFlag": "Version flag only specified with the manage operation flag",
41
43
 
42
- "unmanageInstancePrompt": "Unmanaging is a destructive and irreversible change which will delete all record mappings for this instance. Provide the instance ID if you are sure you want to continue? "
44
+ "unmanageInstancePrompt": "Unmanaging is a destructive and irreversible change which will delete all record mappings for this instance. Provide the instance ID if you are sure you want to continue? ",
45
+
46
+ "descriptionCheckinCommand": "Save data from a Salesforce environment to a VCS repository branch.",
47
+ "descriptionCheckoutCommand": "Deploy data from a VCS repository branch to a Salesforce environment.",
48
+ "descriptionDeployCommand": "Deploy data from one Salesforce environment directly to another Salesforce environment.",
49
+ "descriptionJobsCommand": " Check the job status.",
50
+ "descriptionManageCommand": "Authorize (or unauthorize) a Salesforce environment (not already added to the Environments page in Release tab) for use by the plugin.",
51
+ "descriptionVersionCommand": "Adds version control to a managed environment."
43
52
  }
@@ -0,0 +1,12 @@
1
+ # summary
2
+
3
+ prodly:version command
4
+
5
+ # examples
6
+
7
+ - <%= config.bin %> prodly:version -s main
8
+ Add version control to the managed instance identified by the target org. Use the "main" branch.
9
+ The instance should be managed by the Prodly account associated with the default DevHub control org.
10
+ - <%= config.bin %> prodly:version -s main -b cli-branch -i f50616b6-57b1-4941-802f-ee0e2506f217
11
+ 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"
12
+ The instance should be managed by the Prodly account associated with the default DevHub control org.