Skip to main content
edited tags
Link
Source Link

Getting "Error: no such option: --extra" for cci task run dx_push --extra -f

I am trying to push the force-app directory metadata into a scratch org,I am getting below error when I run cci task run dx_push --extra -f

ci task run dx_push --extra -f  
Error: no such option: --extra 
Run this command for more information about debugging errors: cci error --help

Basically I am trying to force (overwrite) to push the source to a scratch org.

As per the documentation ,We can pass the extra arguments

**

dx_push
Description: Uses sfdx to push the force-app directory metadata into a scratch org
Class: cumulusci.tasks.sfdx.SFDXOrgTask
Command Syntax
$ cci task run dx_push
Options
--command COMMAND
Required
The full command to run with the sfdx cli.
Default: force:source:push
--extra EXTRA
Optional
Append additional options to the command

**