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

Use consistent logging style

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoD