Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-94

Use consistent logging style

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 2.0
    • None
    • None
    • Basel 81
    • 3

      At the moment we're using several ways to display and colorize messages to users.

      • plain console.log(...)
      • helper. printError() | printSuccess() | printImportant() | printInfo() using the chalk library to colorize messages
      • npmlog package, the one used by npm itself.

      We should decide for one approach and stick to it, so that CLI output looks consistent. I'd favour using npmlog for all of our messaging needs.

        Acceptance criteria

              fgrilli Federico Grilli
              fgrilli Federico Grilli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Task DoD