Skip to content

Commit 45fae33

Browse files
authored
Merge pull request #1244 from salesforcecli/ew/remove-deprecated-commands
Remove deprecated commands
2 parents 9e6b4fb + 8debe68 commit 45fae33

File tree

20 files changed

+18
-1924
lines changed

20 files changed

+18
-1924
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix:
2323
os: [ubuntu-latest, windows-latest]
24-
command: ['yarn test:nuts', 'yarn test:nuts:legacy']
24+
command: ['yarn test:nuts']
2525
fail-fast: false
2626
with:
2727
os: ${{ matrix.os }}

README.md

Lines changed: 5 additions & 5 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) 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) 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

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 & 9 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,
@@ -108,7 +100,6 @@
108100
"prepare": "sf-install",
109101
"test": "wireit",
110102
"test:nuts": "nyc mocha \"./test/nut/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --jobs 2",
111-
"test:nuts:legacy": "nyc mocha \"./test/nut/legacy/*.nut.ts\" --slow 4500 --timeout 1200000 --parallel --jobs 5",
112103
"test:nuts:sandbox": "nyc mocha \"./test/**/*.sandboxNut.ts\" --slow 450000 --timeout 7200000 --parallel --jobs 5",
113104
"test:only": "wireit",
114105
"test:watch": "mocha --watch \"./test/**/*.test.ts\"",

0 commit comments

Comments
 (0)