sfpowerkit icon indicating copy to clipboard operation
sfpowerkit copied to clipboard

sfpowerkit:org:destruct should provide check and apex test options

Open MarcDBehr opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. The sfpowerkit:org:destruct command should provide access to the "-c" (check only) and "-l" (run tests) options (which would just be passed along)

Describe the solution you'd like The ability to pass -c and -l to the destruct command

Describe alternatives you've considered I can use force:source:deploy command with the -c and -l RunLocalTests, but then I also need to create the empty package.xml file first

Additional context Add any other context or screenshots about the feature request here.

MarcDBehr avatar May 20 '22 17:05 MarcDBehr

Thanks @MarcDBehr we will look into this.

Caitlyn-Mills avatar May 21 '22 01:05 Caitlyn-Mills

would also be very interesting to introduce the following options available for the sfpowerkit:org:destruct command:

-o | --ignoreerrors Optional Ignores the deploy errors, and continues with the deploy operation. The default is false. Keep this parameter set to false when deploying to a production org. If set to true, components without errors are deployed, and components with errors are skipped.

Type: boolean

-g | --ignorewarnings Optional If a warning occurs and ignoreWarnings is set to true, the success field in DeployMessage is true. When ignoreWarnings is set to false, success is set to false, and the warning is treated like an error.

Type: boolean

hassanalamibmx avatar Jun 21 '22 08:06 hassanalamibmx

I am closing this issue, we have made the decision to deprecate sfpowerkit:org:destruct https://github.com/dxatscale/sfpowerkit/issues/722 Thanks! Caitlyn

Caitlyn-Mills avatar Aug 31 '22 03:08 Caitlyn-Mills