Skip to content

The logs while executing need color #19

Description

@jacobkim9881

Briefing

As a cham in linux, coloring texts in terminal is sweet and cool. Like whenever you install SPA like React.js, Angular.js, Vue.js, you see some logs explaining each process while installing. I want to make users enjoy such pleasure while executing our repository.

What is needed to assign this issue

  • You have linux like OS or mac OS and have node.js(Please to check this related notice).
  • Knowledge of using and debugging with terminal.
  • Knowledge of javascript(node.js).

Problem

The logs while executing the repository are too boring while installing. Currently the logs like below,


Script started. // <-- it's green and okay
local_obj.json will be translated into other language version local_obj.json.
spawn node ./src/index.js 0 local_obj.json
0 :  /usr/local/bin/node
1 :  /Users/mac/localization-manager/src/index.js
2 :  0
3 :  local_obj.json
Target language:  af // <-- This language code color is white
Tag name is undefined at:  undefined
file is written // <-- This is white too

Solution

Coloring such logs can be solutions. Current idea is,
af : This language code should be red
file is written : This words should be colored with 3 colors.

I will add a reference for color.
Any idea will be appreciate too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions