customerio / cio-sdk-tools

A self service tool to run diagnostics on your mobile SDK installation
MIT License
2 stars 0 forks source link

Project layout #1

Closed jatinn closed 11 months ago

jatinn commented 11 months ago

adds dependencies for cli framework & logger

the console logger has a custom format to only display the message and any metadata if provided.

default format example

info: info log message with metatadata {"options":{},"project_path":"some dir path"}

custom format example

info log message with metatadata {
    "project_path": "some dir path",
    "options": {}
}

not planning to update the run-diagnostics in this pr

mrehan27 commented 11 months ago

Thanks for the PR @jatinn. I have used winston as well for logging. But most of the changes in the PR may create conflict with branch containing most of the refactoring changes. I like the commander part though, and would be pulling it to my branch to use it with other classes. Would you mind dropping rest of the changes from the PR so it is easier for me to pull this? Or I can pick the changes manually and we can close this PR.

jatinn commented 11 months ago

thanks for linking your branch, took a look and seems like renaming a file should take care of the main conflict. i'll merge this into main and then merge main into your branch and resolve any conflicts and push that commit