sfmc-devtools icon indicating copy to clipboard operation
sfmc-devtools copied to clipboard

[FEATURE] add option to clear deploy folder after deploy

Open dawidmachon opened this issue 1 year ago • 4 comments

Is your feature request related to a problem? Please describe. Right now, every time I need to manually clear deploy folder after each command before next package.

Describe the solution you'd like I would like to get option to configure command to clearing deploy folder for me or prompt which will ask me if it should do it.

dawidmachon avatar Jul 12 '22 15:07 dawidmachon

After our before which command would u imagine this?

What's your current workflow / which commands are you using?

JoernBerkefeld avatar Jul 15 '22 06:07 JoernBerkefeld

For example, mcdev deploy --da will clear deploy folder from files which was recently pushed to MC.

Right now I am preparing files manually, from retrieve pasting to deploy, then changing code and then command deploy. After every deploy I need to keep in mind to delete files from before, because if no, then I have bad moments ;P. So I was thinking if it is not good addition to give option to auto delete contents of deploy folder after success deploy.

dawidmachon avatar Jul 18 '22 14:07 dawidmachon

picking up this topic in 4.4.0 now.

i thought about what flag(s) should be offered:

mcdev deploy --clean 

maybe additionally we should offer the same flag for buildDefinition / buildDefinitionBulk. not sure about that though

JoernBerkefeld avatar Feb 08 '23 11:02 JoernBerkefeld

  • blocked by pr #721

JoernBerkefeld avatar Feb 08 '23 13:02 JoernBerkefeld