prodlysfcli 1.2.1 → 1.3.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.
@@ -1,12 +1,115 @@
1
1
  {
2
2
  "commands": {
3
+ "prodly:change-types": {
4
+ "aliases": [],
5
+ "args": {},
6
+ "description": "List all or a specific change type and create scratch org from a change type.",
7
+ "examples": [
8
+ "<%= config.bin %> prodly:change-types --target-dev-hub jsmith@acme.com -l\nLists all the change types",
9
+ "<%= config.bin %> prodly:change-types --target-dev-hub jsmith@acme.com -l -t a1h3t00000JN9lhAAD\nLists a specific change type",
10
+ "<%= config.bin %> prodly:change-types --target-dev-hub jsmith@acme.com -c -n \"SO FROM CLI\" -u \"username@example.com\" -t a1h3t00000JN9lhAAD\nCreates a scratch org based on a change type"
11
+ ],
12
+ "flags": {
13
+ "json": {
14
+ "description": "Format output as json.",
15
+ "helpGroup": "GLOBAL",
16
+ "name": "json",
17
+ "allowNo": false,
18
+ "type": "boolean"
19
+ },
20
+ "flags-dir": {
21
+ "helpGroup": "GLOBAL",
22
+ "name": "flags-dir",
23
+ "summary": "Import flag values from a directory.",
24
+ "hasDynamicHelp": false,
25
+ "multiple": false,
26
+ "type": "option"
27
+ },
28
+ "api-version": {
29
+ "description": "Override the api version used for api requests made by this command",
30
+ "name": "api-version",
31
+ "hasDynamicHelp": false,
32
+ "multiple": false,
33
+ "type": "option"
34
+ },
35
+ "target-dev-hub": {
36
+ "char": "v",
37
+ "name": "target-dev-hub",
38
+ "noCacheDefault": true,
39
+ "required": true,
40
+ "summary": "Username or alias of the Dev Hub org. Not required if the `target-dev-hub` configuration variable is already set.",
41
+ "hasDynamicHelp": true,
42
+ "multiple": false,
43
+ "type": "option"
44
+ },
45
+ "id": {
46
+ "char": "t",
47
+ "name": "id",
48
+ "summary": "change type ID",
49
+ "hasDynamicHelp": false,
50
+ "multiple": false,
51
+ "type": "option"
52
+ },
53
+ "list": {
54
+ "char": "l",
55
+ "name": "list",
56
+ "summary": "list all change types or specific change type",
57
+ "allowNo": false,
58
+ "type": "boolean"
59
+ },
60
+ "create": {
61
+ "char": "c",
62
+ "name": "create",
63
+ "summary": "create a scratch org from a change type",
64
+ "allowNo": false,
65
+ "type": "boolean"
66
+ },
67
+ "name": {
68
+ "char": "n",
69
+ "name": "name",
70
+ "summary": "name to use for the scratch org",
71
+ "hasDynamicHelp": false,
72
+ "multiple": false,
73
+ "type": "option"
74
+ },
75
+ "username": {
76
+ "char": "u",
77
+ "name": "username",
78
+ "summary": "username to use for the scratch org",
79
+ "hasDynamicHelp": false,
80
+ "multiple": false,
81
+ "type": "option"
82
+ }
83
+ },
84
+ "hasDynamicHelp": true,
85
+ "hiddenAliases": [],
86
+ "id": "prodly:change-types",
87
+ "pluginAlias": "prodlysfcli",
88
+ "pluginName": "prodlysfcli",
89
+ "pluginType": "core",
90
+ "strict": true,
91
+ "summary": "prodly:change-types command",
92
+ "enableJsonFlag": true,
93
+ "isESM": true,
94
+ "relativePath": [
95
+ "lib",
96
+ "commands",
97
+ "prodly",
98
+ "change-types.js"
99
+ ],
100
+ "aliasPermutations": [],
101
+ "permutations": [
102
+ "prodly:change-types",
103
+ "change-types:prodly"
104
+ ]
105
+ },
3
106
  "prodly:checkin": {
4
107
  "aliases": [],
5
108
  "args": {},
6
109
  "description": "Save data from a Salesforce environment to a VCS repository branch.",
7
110
  "examples": [
8
111
  "<%= config.bin %> prodly:checkin --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nSave managed data to the branch associated with the managed instance identified by the target username.\nThe instance should be managed by the Prodly account associated with the provided DevHub control org.",
9
- "<%= config.bin %> prodly:checkin -u test-utxac7gbati9@example.com\nSave managed data to the branch associated with the managed instance identified by the target username.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
112
+ "<%= config.bin %> prodly:checkin --target-org test-utxac7gbati9@example.com\nSave managed data to the branch associated with the managed instance identified by the target username.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
10
113
  "<%= config.bin %> prodly:checkin -i f50616b6-57b1-4941-802f-ee0e2506f217\nSave managed data to the branch associated with the managed instance identified by the provided ID.\nThe instance should be managed by the Prodly account associated with the default DevHub control org."
11
114
  ],
12
115
  "flags": {
@@ -131,7 +234,7 @@
131
234
  "description": "Deploy data from a VCS repository branch to a Salesforce environment.",
132
235
  "examples": [
133
236
  "<%= config.bin %> prodly:checkout --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nDeploy managed data to the managed instance identified by the target org from the associated branch.\nThe instance should be managed by the Prodly account associated with the provided DevHub control org.",
134
- "<%= config.bin %> prodly:checkout -u test-utxac7gbati9@example.com\nDeploy managed data to the managed instance org identified by the target username from the associated branch.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
237
+ "<%= config.bin %> prodly:checkout --target-org test-utxac7gbati9@example.com\nDeploy managed data to the managed instance org identified by the target username from the associated branch.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
135
238
  "<%= config.bin %> prodly:checkout -i f50616b6-57b1-4941-802f-ee0e2506f217\nDeploy managed data to the managed instance org from the associated branch.\nThe instance should be managed by the Prodly account associated with the default DevHub control org."
136
239
  ],
137
240
  "flags": {
@@ -261,9 +364,9 @@
261
364
  "args": {},
262
365
  "description": "Deploy data from one Salesforce environment directly to another Salesforce environment.",
263
366
  "examples": [
264
- "<%= config.bin %> prodly:deploy -n scratchorg -u FixesScratchOrg -v MainDevHub\nCommand output... deploying from the dev hub, the control org, to the scratch org, auto managed with provided name.",
367
+ "<%= config.bin %> prodly:deploy -n scratchorg --target-org FixesScratchOrg -v MainDevHub\nCommand output... deploying from the dev hub, the control org, to the scratch org, auto managed with provided name.",
265
368
  "<%= config.bin %> prodly:deploy --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nCommand output... deploying from the dev hub, the control org, to the scratch org. Long param names.",
266
- "<%= config.bin %> prodly:deploy -u test-utxac7gbati9@example.com -v jsmith@acme.com -d \"UAT Sandbox Connection\"\nCommand output... deploying from the scratch org to the UAT sandbox, using the named connection record in the dev hub, control org.",
369
+ "<%= config.bin %> prodly:deploy --target-org test-utxac7gbati9@example.com -v jsmith@acme.com -d \"UAT Sandbox Connection\"\nCommand output... deploying from the scratch org to the UAT sandbox, using the named connection record in the dev hub, control org.",
267
370
  "<%= config.bin %> prodly:deploy --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com --source \"UAT Sandbox Connection\"\nCommand output... deploying to the scratch org from the UAT sandbox, using the named connection record in the dev hub, control org. Long param names."
268
371
  ],
269
372
  "flags": {
@@ -475,7 +578,7 @@
475
578
  "examples": [
476
579
  "<%= config.bin %> prodly:manage -l -p\nList and print all of the managed instances for the Prodly account associated with the default DevHub control org.",
477
580
  "<%= config.bin %> prodly:manage -m --target-org test-utxac7gbati9@example.com --target-dev-hub jsmith@acme.com\nManage the org associated with the target username under the Prodly account associated with the provided DevHub control org.",
478
- "<%= config.bin %> prodly:manage -m -u test-utxac7gbati9@example.com -n dev7sbx\nManage and version the org associated with the target username under the Prodly account associated with the default DevHub control org."
581
+ "<%= config.bin %> prodly:manage -m --target-org test-utxac7gbati9@example.com -n dev7sbx\nManage and version the org associated with the target username under the Prodly account associated with the default DevHub control org."
479
582
  ],
480
583
  "flags": {
481
584
  "json": {
@@ -609,7 +712,8 @@
609
712
  "description": "Adds version control to a managed environment.",
610
713
  "examples": [
611
714
  "<%= config.bin %> prodly:version -s main\nAdd version control to the managed instance identified by the target org. Use the \"main\" branch.\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
612
- "<%= config.bin %> prodly:version -s main -b cli-branch -i f50616b6-57b1-4941-802f-ee0e2506f217\nAdd 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\"\nThe instance should be managed by the Prodly account associated with the default DevHub control org."
715
+ "<%= config.bin %> prodly:version -s main -b cli-branch -i f50616b6-57b1-4941-802f-ee0e2506f217\nAdd 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\"\nThe instance should be managed by the Prodly account associated with the default DevHub control org.",
716
+ "<%= config.bin %> prodly:version -x -i f50616b6-57b1-4941-802f-ee0e2506f217\nRemove version control from the managed instance identified by the provided ID.\nThe instance should be managed by the Prodly account associated with the default DevHub control org."
613
717
  ],
614
718
  "flags": {
615
719
  "json": {
@@ -639,7 +743,7 @@
639
743
  "source-branch": {
640
744
  "char": "s",
641
745
  "name": "source-branch",
642
- "required": true,
746
+ "required": false,
643
747
  "summary": "the version control branch or the base for the new branch (if provided)",
644
748
  "hasDynamicHelp": false,
645
749
  "multiple": false,
@@ -673,6 +777,13 @@
673
777
  "hasDynamicHelp": false,
674
778
  "multiple": false,
675
779
  "type": "option"
780
+ },
781
+ "unlink": {
782
+ "char": "x",
783
+ "name": "unlink",
784
+ "summary": "unlink the branch from the managed instance",
785
+ "allowNo": false,
786
+ "type": "boolean"
676
787
  }
677
788
  },
678
789
  "hasDynamicHelp": true,
@@ -698,5 +809,5 @@
698
809
  ]
699
810
  }
700
811
  },
701
- "version": "1.2.1"
812
+ "version": "1.3.0"
702
813
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "prodlysfcli",
3
3
  "description": "A plugin which provides Prodly application commands on top of the Salesforce CLI.",
4
- "version": "1.2.1",
4
+ "version": "1.3.0",
5
5
  "author": "Prodly Inc.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -11,18 +11,18 @@
11
11
  "url": "https://github.com/prodly/prodly-sf-cli/issues"
12
12
  },
13
13
  "dependencies": {
14
- "@oclif/core": "^4.0.23",
15
- "@salesforce/core": "8.6.1",
16
- "@salesforce/sf-plugins-core": "11.3.10"
14
+ "@oclif/core": "4.0.33",
15
+ "@salesforce/core": "8.8.0",
16
+ "@salesforce/sf-plugins-core": "12.1.0"
17
17
  },
18
18
  "devDependencies": {
19
- "@oclif/plugin-command-snapshot": "^5.2.17",
20
- "@salesforce/cli-plugins-testkit": "^5.3.33",
21
- "@salesforce/dev-scripts": "^10.2.10",
22
- "eslint-plugin-sf-plugin": "^1.20.8",
23
- "oclif": "^4.14.36",
19
+ "@oclif/plugin-command-snapshot": "^5.2.22",
20
+ "@salesforce/cli-plugins-testkit": "^5.3.38",
21
+ "@salesforce/dev-scripts": "^10.2.11",
22
+ "eslint-plugin-sf-plugin": "^1.20.13",
23
+ "oclif": "^4.15.29",
24
24
  "ts-node": "^10.9.2",
25
- "typescript": "^5.6.2"
25
+ "typescript": "^5.7.2"
26
26
  },
27
27
  "lint-staged": {
28
28
  "**/*.{ts}": "eslint --cache --fix"