Skip to content

Commit f67ff04

Browse files
committed
Clean up final sfdx references
1 parent 45084a4 commit f67ff04

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

cumulusci/tasks/salesforce/tests/test_check_components.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ def test_collect_components_from_paths(
9999
assert components is not None
100100
assert "ApexClass" not in components
101101
sfdx.assert_called_once_with(
102-
"force:source:convert",
102+
"project convert source",
103103
args=["-d", ANY, "-r", "force-app/main/default"],
104104
capture_output=True,
105105
check_return=True,

cumulusci/tasks/tests/test_sfdx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def test_base_task(self):
5252
def test_keychain_org_creds(self):
5353
"""Keychain org creds are passed by env var"""
5454

55-
self.task_config.config["options"] = {"command": "force:org --help"}
55+
self.task_config.config["options"] = {"command": "org --help"}
5656
access_token = "00d123"
5757
org_config = OrgConfig(
5858
{

cumulusci/tasks/vlocity/tests/test_vlocity.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ def test_deploy_omni_studio_site_settings(
247247
# The frequent error is:
248248
#
249249
# "name": "NoOrgFound",
250-
# "action": "Run the \"sfdx force:auth\" commands with --target-org to connect to an org and set it as your default org.\nRun \"org create scratch\" with --target-org to create a scratch org and set it as your default org.\nRun \"sf config set target-org=<username>\" to set your default username."
250+
# "action": "Run the \"sf auth\" commands with --target-org to connect to an org and set it as your default org.\nRun \"org create scratch\" with --target-org to create a scratch org and set it as your default org.\nRun \"sf config set target-org=<username>\" to set your default username."
251251
# }
252252

253253

docs/cookbook.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ run_custom_command:
4343
The `dx` task lets you run an arbitrary `sfdx` command. You can perform
4444
this with `cci` on a terminal:
4545

46-
$ cci task run dx -o command 'force:api:limits:display'
46+
$ cci task run dx -o command 'limits api display'
4747

4848
Or you can utilize the same `class_path` as the `dx` task and make a
4949
custom task that can be executed by itself or as a step in a flow.
@@ -54,7 +54,7 @@ dx_limits:
5454
class_path: cumulusci.tasks.sfdx.SFDXBaseTask
5555
group: dx
5656
options:
57-
command: sfdx force:limits:api:display
57+
command: sf limits api display
5858
```
5959

6060
In this case, we actually utilize `SFDXBaseTask`, if you would like to
@@ -64,7 +64,7 @@ instead.
6464
### Custom Deploy
6565

6666
It is often useful to be able to define multiple custom deployment tasks
67-
that deployg a specific subset of your projects metadata. This is
67+
that deploy a specific subset of your projects metadata. This is
6868
particularly true when working with [unpackaged Metadata](unpackaged).
6969

7070
Here is a custom task that is defined to only deploy only the metadata

docs/unlocked-package.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ the GitHub release operations:
168168
$ cci task run promote_package_version --version_id 04t000000000000 --promote_dependencies True
169169
```
170170

171-
Alternatively, you can use the `sfdx force:package:version:promote`
171+
Alternatively, you can use the `sf package version promote`
172172
command to promote a 2GP package.
173173

174174
### Promote Dependencies

0 commit comments

Comments
 (0)