Skip to content

Commit feedb0d

Browse files
committed
feat!: remove deprecated commands
BREAKING CHANGES
1 parent 5090e15 commit feedb0d

19 files changed

+20
-1923
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.
7676

7777
```bash
7878
# Run using local run file.
79-
./bin/dev force:org:list
79+
./bin/dev.js org list
8080
```
8181

8282
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be
@@ -394,8 +394,8 @@ USAGE
394394
$ sf org delete sandbox -o <value> [--json] [--flags-dir <value>] [-p]
395395
396396
FLAGS
397-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
398-
configuration variable is already set.
397+
-o, --target-org=<value> (required) [default: [email protected]] Username or alias of the target org. Not
398+
required if the `target-org` configuration variable is already set.
399399
-p, --no-prompt Don't prompt the user to confirm the deletion.
400400
401401
GLOBAL FLAGS
@@ -440,8 +440,8 @@ USAGE
440440
$ sf org delete scratch -o <value> [--json] [--flags-dir <value>] [-p]
441441
442442
FLAGS
443-
-o, --target-org=<value> (required) Username or alias of the target org. Not required if the `target-org`
444-
configuration variable is already set.
443+
-o, --target-org=<value> (required) [default: [email protected]] Username or alias of the target org. Not
444+
required if the `target-org` configuration variable is already set.
445445
-p, --no-prompt Don't prompt the user to confirm the deletion.
446446
447447
GLOBAL FLAGS
@@ -889,7 +889,9 @@ EXAMPLES
889889
$ sf org refresh sandbox --definition-file devSbx3-config.json --target-org prodOrg
890890
891891
FLAG DESCRIPTIONS
892-
-f, --definition-file=<value> Path to a sandbox definition file for overriding its configuration when you refresh it.
892+
-f, --definition-file=<value>
893+
894+
Path to a sandbox definition file for overriding its configuration when you refresh it.
893895
894896
The sandbox definition file is a blueprint for the sandbox; use the file to change the sandbox configuration during
895897
a refresh. If you don't want to change the sandbox configuration when you refresh it, then simply use the --name

command-snapshot.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,4 @@
11
[
2-
{
3-
"alias": [],
4-
"command": "force:org:create",
5-
"flagAliases": ["apiversion", "targetdevhubusername", "targetusername", "u"],
6-
"flagChars": ["a", "c", "d", "f", "i", "n", "o", "s", "t", "v", "w"],
7-
"flags": [
8-
"api-version",
9-
"clientid",
10-
"definitionfile",
11-
"durationdays",
12-
"flags-dir",
13-
"json",
14-
"loglevel",
15-
"noancestors",
16-
"nonamespace",
17-
"retry",
18-
"setalias",
19-
"setdefaultusername",
20-
"target-dev-hub",
21-
"target-org",
22-
"type",
23-
"wait"
24-
],
25-
"plugin": "@salesforce/plugin-org"
26-
},
27-
{
28-
"alias": [],
29-
"command": "force:org:delete",
30-
"flagAliases": ["apiversion", "noprompt", "targetusername", "u"],
31-
"flagChars": ["o", "p", "v"],
32-
"flags": ["api-version", "flags-dir", "json", "loglevel", "no-prompt", "target-org", "targetdevhubusername"],
33-
"plugin": "@salesforce/plugin-org"
34-
},
352
{
363
"alias": ["env:create:sandbox"],
374
"command": "org:create:sandbox",

messages/create.md

Lines changed: 0 additions & 117 deletions
This file was deleted.

messages/delete.md

Lines changed: 0 additions & 60 deletions
This file was deleted.

messages/delete_sandbox.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,7 @@ The org with username: %s is not known by the CLI to be a sandbox
5050

5151
Re-authenticate the sandbox with the CLI and try again.
5252
Ensure the CLI has authenticated with the sandbox's production org.
53+
54+
# error.missingUsername
55+
56+
Unable to determine the username of the org to delete. Specify the username with the --target-org | -o flag.

messages/delete_scratch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,7 @@ Successfully marked scratch org %s for deletion.
4040
# success.Idempotent
4141

4242
Successfully deleted scratch org %s.
43+
44+
# error.missingUsername
45+
46+
Unable to determine the username of the org to delete. Specify the username with the --target-org | -o flag.

package.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@
8080
}
8181
},
8282
"external": true
83-
},
84-
"force": {
85-
"external": true,
86-
"subtopics": {
87-
"org": {
88-
"description": "Manage your sandbox and scratch orgs."
89-
}
90-
}
9183
}
9284
},
9385
"flexibleTaxonomy": true,

0 commit comments

Comments
 (0)