mhkeller / config-tree

A reworking of init-package-json to make reusable prompt-based CLIs for making config.json files.
ISC License
1 stars 1 forks source link

Add colors to default values to make the prompts easier to read #1

Open mhkeller opened 9 years ago

mhkeller commented 9 years ago

I tried using the colors library but it adds the unicode characters into the data which a) add white space where you want to be typing b) adds the unicode codes into your final json data.

Perhaps you could regex them out?

mhkeller commented 9 years ago

Using chalk and node > 0.12 fixes this i believe. Still need to add this functionality