Skip to content

Commit 5f94d1e

Browse files
fix: edit messages for new source-tracking commands
* fix: edit messages for new source-tracking commands * Update org.enable.tracking.md * Update org.disable.tracking.md
1 parent 78a7984 commit 5f94d1e

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

messages/org.disable.tracking.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
# summary
22

3-
Disable source tracking in local auth file.
3+
Prevent Salesforce CLI from tracking changes in your source files between your project and an org.
44

55
# description
66

7-
This has no effect on the org. It stores the setting in the CLI's configuration file for this org so that no source tracking operations are executed when working with this org.
7+
Disabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that no source tracking operations are executed when working with the org.
88

99
# examples
1010

11-
Disable tracking on an org using an alias
11+
- Disable source tracking for an org with alias "myscratch":
1212

13-
- <%= config.bin %> <%= command.id %> -o someAlias
13+
<%= config.bin %> <%= command.id %> --target-org myscratch
1414

15-
Disable tracking on an org using a username
15+
- Disable source tracking for an org using a username:
1616

17-
- <%= config.bin %> <%= command.id %> -o [email protected]
17+
<%= config.bin %> <%= command.id %> --target-org [email protected]
1818

19-
Disable tracking on your default org
19+
- Disable source tracking for your default org:
2020

21-
- <%= config.bin %> <%= command.id %>
21+
<%= config.bin %> <%= command.id %>
2222

2323
# success
2424

messages/org.enable.tracking.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,39 @@
11
# summary
22

3-
Enable source tracking in local auth file.
3+
Allow Salesforce CLI to track changes in your source files between your project and an org.
44

55
# description
66

7-
This has no effect on the org. It stores the setting in the CLI's configuration file for this org so that source tracking operations are executed when working with this org.
7+
Enabling source tracking has no direct effect on the org, it affects only your local environment. Specifically, Salesforce CLI stores the setting in the org's local configuration file so that source tracking operations are executed when working with the org.
88

9-
This command will throw an error if the org does not support tracking.
9+
This command throws an error if the org doesn't support tracking. Examples of orgs that don't support source tracking include Developer Edition orgs, production orgs, Partial Copy sandboxes, and Full sandboxes.
1010

1111
# examples
1212

13-
Enable tracking on an org using an alias
13+
- Enable source tracking for an org with alias "myscratch":
1414

15-
- <%= config.bin %> <%= command.id %> -o someAlias
15+
<%= config.bin %> <%= command.id %> --target-org myscratch
1616

17-
Enable tracking on an org using a username
17+
- Enable source tracking for an org using a username:
1818

19-
- <%= config.bin %> <%= command.id %> -o [email protected]
19+
<%= config.bin %> <%= command.id %> --target-org [email protected]
2020

21-
Enable tracking on your default org
21+
- Enable source tracking for your default org:
2222

23-
- <%= config.bin %> <%= command.id %>
23+
<%= config.bin %> <%= command.id %>
2424

2525
# success
2626

2727
Enabled source tracking for %s.
2828

2929
# error.TrackingNotAvailable
3030

31-
This org cannot enable source tracking because the SourceMember object is not available, or you do not have access to it.
31+
You can't enable source tracking on this org because the SourceMember Tooling API object isn't available, or you don't have access to it.
3232

3333
# error.TrackingNotAvailable.actions
3434

35-
- If the org is a sandbox, make sure that your production org has Source Tracking enabled in sandboxes. See https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_setup_enable_source_tracking_sandboxes.htm.
35+
- If the org is a Developer or Developer Pro sandbox, make sure that the associated production org has enabled source tracking in sandboxes. See https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_setup_enable_source_tracking_sandboxes.htm.
3636

37-
- Make sure that your user can access the SourceMembers table via the tooling API.
37+
- Make sure that your user can access the SourceMember Tooling API object.
3838

39-
- If the Org is a production org, source tracking cannot be enabled.
39+
- You can't enable source tracking on Developer Edition orgs, production orgs, Partial Copy sandboxes, or Full sandboxes.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"devDependencies": {
1616
"@oclif/plugin-command-snapshot": "^5.0.2",
17-
"@salesforce/cli-plugins-testkit": "^5.0.4",
17+
"@salesforce/cli-plugins-testkit": "^5.0.3",
1818
"@salesforce/dev-scripts": "^7.1.1",
1919
"@salesforce/plugin-command-reference": "^3.0.46",
2020
"@salesforce/ts-sinon": "1.4.19",
@@ -72,10 +72,10 @@
7272
"description": "Delete scratch orgs, sandboxes, org shapes, and org snapshots."
7373
},
7474
"enable": {
75-
"description": "Enable tracking on an org."
75+
"description": "Enable source tracking in an org."
7676
},
7777
"disable": {
78-
"description": "Disable tracking on an org"
78+
"description": "Disable source tracking in an org."
7979
}
8080
},
8181
"external": true

0 commit comments

Comments
 (0)