prodlysfcli 1.1.0 → 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 (65) hide show
  1. package/README.md +40 -6
  2. package/messages/prodly.checkout.md +6 -6
  3. package/messages/prodly.json +11 -3
  4. package/messages/prodly.version.md +12 -0
  5. package/npm-shrinkwrap.json +4477 -8830
  6. package/oclif.lock +3206 -5092
  7. package/oclif.manifest.json +2 -566
  8. package/package.json +10 -10
  9. package/lib/commands/prodly/checkin.d.ts +0 -20
  10. package/lib/commands/prodly/checkin.js +0 -130
  11. package/lib/commands/prodly/checkin.js.map +0 -1
  12. package/lib/commands/prodly/checkout.d.ts +0 -21
  13. package/lib/commands/prodly/checkout.js +0 -137
  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 -263
  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/helpers/index.d.ts +0 -6
  28. package/lib/helpers/index.js +0 -17
  29. package/lib/helpers/index.js.map +0 -1
  30. package/lib/index.d.ts +0 -2
  31. package/lib/index.js +0 -2
  32. package/lib/index.js.map +0 -1
  33. package/lib/services/connections.d.ts +0 -7
  34. package/lib/services/connections.js +0 -109
  35. package/lib/services/connections.js.map +0 -1
  36. package/lib/services/connections.types.d.ts +0 -31
  37. package/lib/services/connections.types.js +0 -2
  38. package/lib/services/connections.types.js.map +0 -1
  39. package/lib/services/jobs.d.ts +0 -4
  40. package/lib/services/jobs.js +0 -26
  41. package/lib/services/jobs.js.map +0 -1
  42. package/lib/services/jobs.types.d.ts +0 -13
  43. package/lib/services/jobs.types.js +0 -2
  44. package/lib/services/jobs.types.js.map +0 -1
  45. package/lib/services/manage-instances.d.ts +0 -7
  46. package/lib/services/manage-instances.js +0 -94
  47. package/lib/services/manage-instances.js.map +0 -1
  48. package/lib/services/manage-instances.types.d.ts +0 -40
  49. package/lib/services/manage-instances.types.js +0 -2
  50. package/lib/services/manage-instances.types.js.map +0 -1
  51. package/lib/services/queries.d.ts +0 -8
  52. package/lib/services/queries.js +0 -54
  53. package/lib/services/queries.js.map +0 -1
  54. package/lib/types/generic.d.ts +0 -7
  55. package/lib/types/generic.js +0 -2
  56. package/lib/types/generic.js.map +0 -1
  57. package/lib/types/prodly.d.ts +0 -69
  58. package/lib/types/prodly.js +0 -2
  59. package/lib/types/prodly.js.map +0 -1
  60. package/lib/types/salesforce.d.ts +0 -14
  61. package/lib/types/salesforce.js +0 -2
  62. package/lib/types/salesforce.js.map +0 -1
  63. package/lib/utils/index.d.ts +0 -2
  64. package/lib/utils/index.js +0 -3
  65. package/lib/utils/index.js.map +0 -1
package/README.md CHANGED
@@ -74,7 +74,7 @@ GLOBAL FLAGS
74
74
  DESCRIPTION
75
75
  prodly:checkin command
76
76
 
77
- Launches an Prodly relational data deployment.
77
+ Save data from a Salesforce environment to a VCS repository branch.
78
78
 
79
79
  EXAMPLES
80
80
  $ sf prodly:checkin --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com
@@ -117,7 +117,7 @@ GLOBAL FLAGS
117
117
  DESCRIPTION
118
118
  prodly:checkout command
119
119
 
120
- Launches an Prodly relational data deployment.
120
+ Deploy data from a VCS repository branch to a Salesforce environment.
121
121
 
122
122
  EXAMPLES
123
123
  $ sf prodly:checkin --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com
@@ -162,7 +162,7 @@ GLOBAL FLAGS
162
162
  DESCRIPTION
163
163
  prodly:deploy command
164
164
 
165
- Launches an Prodly relational data deployment.
165
+ Deploy data from one Salesforce environment directly to another Salesforce environment.
166
166
 
167
167
  EXAMPLES
168
168
  $ sf prodly:deploy -n scratchorg -u FixesScratchOrg -v MainDevHub
@@ -208,7 +208,7 @@ GLOBAL FLAGS
208
208
  DESCRIPTION
209
209
  prodly:manage command
210
210
 
211
- 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.
212
212
 
213
213
  EXAMPLES
214
214
  $ sf prodly:manage -l -p
@@ -226,7 +226,7 @@ EXAMPLES
226
226
 
227
227
  ```
228
228
  USAGE
229
- $ sf prodly jobs -v <value> -j <value> [--json]
229
+ $ sf prodly:jobs -v <value> -j <value> [--json]
230
230
 
231
231
  FLAGS
232
232
  -j, --job=<value> (required) Prodly Job ID
@@ -239,13 +239,47 @@ GLOBAL FLAGS
239
239
  DESCRIPTION
240
240
  prodly:jobs command
241
241
 
242
- Launches an Prodly relational data deployment.
242
+ Check the job status.
243
243
 
244
244
  EXAMPLES
245
245
  $ sf prodly:jobs -j jobId -v MainDevHub
246
246
  Print the job status for the provided job Id.
247
247
  ```
248
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
+
249
283
  <!-- commandsstop -->
250
284
 
251
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.",
@@ -40,5 +41,12 @@
40
41
  "errorQueryFilterFlag": "Query filter flag is only applicable for data set deployment",
41
42
  "errorVersionFlagNoManageFlag": "Version flag only specified with the manage operation flag",
42
43
 
43
- "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."
44
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.