Skip to content

Commit

Permalink
Clean up final sfdx references
Browse files Browse the repository at this point in the history
  • Loading branch information
jstvz committed Nov 13, 2024
1 parent 6952e42 commit 26fc26d
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cumulusci/tasks/salesforce/tests/test_check_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_collect_components_from_paths(
assert components is not None
assert "ApexClass" not in components
sfdx.assert_called_once_with(
"force:source:convert",
"project convert source",
args=["-d", ANY, "-r", "force-app/main/default"],
capture_output=True,
check_return=True,
Expand Down
2 changes: 1 addition & 1 deletion cumulusci/tasks/tests/test_sfdx.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def test_base_task(self):
def test_keychain_org_creds(self):
"""Keychain org creds are passed by env var"""

self.task_config.config["options"] = {"command": "force:org --help"}
self.task_config.config["options"] = {"command": "org --help"}
access_token = "00d123"
org_config = OrgConfig(
{
Expand Down
2 changes: 1 addition & 1 deletion cumulusci/tasks/vlocity/tests/test_vlocity.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ def test_deploy_omni_studio_site_settings(
# The frequent error is:
#
# "name": "NoOrgFound",
# "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."
# "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."
# }


Expand Down
6 changes: 3 additions & 3 deletions docs/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ run_custom_command:
The `dx` task lets you run an arbitrary `sfdx` command. You can perform
this with `cci` on a terminal:

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

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

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

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

Here is a custom task that is defined to only deploy only the metadata
Expand Down
2 changes: 1 addition & 1 deletion docs/unlocked-package.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ the GitHub release operations:
$ cci task run promote_package_version --version_id 04t000000000000 --promote_dependencies True
```

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

### Promote Dependencies
Expand Down

0 comments on commit 26fc26d

Please sign in to comment.