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

[FEATURE] print time it took to run retrieve / deploy command (including * versions)

Open JoernBerkefeld opened this issue 2 years ago • 2 comments

idea is that whenever relevant methods are executed, the user sees how long it took to do so

JoernBerkefeld avatar Jan 11 '22 09:01 JoernBerkefeld

code is async, means extra complexity to time it without interfering with performance

what to time: methods in lib/index.js

  • retrieve
  • deploy
  • retrieveAsTemplate
  • buildDefinition
  • buildDefinitionBulk
  • createDeltaPkg

JoernBerkefeld avatar Jul 04 '22 08:07 JoernBerkefeld

check if framework yargs (see lib/cli.js) already has an option for that: https://github.com/yargs/yargs

JoernBerkefeld avatar Jul 04 '22 09:07 JoernBerkefeld