graphql-cli
graphql-cli copied to clipboard
Init command displaying faulty text
Describe the bug Init command displaying text not readable on CLI. Windows 10. Git Bash.
To Reproduce Steps to reproduce the behavior:
- Run command
npx graphql-cli init
- See error
β[?25lβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0mβ[2m(Use arrow keys)β[22m β[36m> Full Stackβ[39m Frontend only Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack Frontend only β[36m> Backend onlyβ[39m β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m β[36m> Full Stackβ[39m Frontend only Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack Frontend only β[36m> Backend onlyβ[39m β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m β[36m> Full Stackβ[39m Frontend only Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack β[36m> Frontend onlyβ[39m Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack Frontend only β[36m> Backend onlyβ[39m β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack β[36m> Frontend onlyβ[39m Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m β[36m> Full Stackβ[39m Frontend only Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack Frontend only β[36m> Backend onlyβ[39m β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m β[36m> Full Stackβ[39m Frontend only Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack β[36m> Frontend onlyβ[39m Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m Full Stack Frontend only β[36m> Backend onlyβ[39m β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0m β[36m> Full Stackβ[39m Frontend only Backend only β[15Dβ[15Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mWhat is the type of the project?β[22mβ[0m β[0mβ[36mFull Stackβ[39mβ[45Dβ[45C β[?25hβ[?25lβ[32m?β[39m β[1mSelect the best option for youβ[22mβ[0m β[0mβ[2m(Use arrow keys)β[22m β[36m> I want to create a new project from a GraphQL CLI Project Template.β[39m I have an existing project using OpenAPI/Swagger Schema Definition. I have an existing project using GraphQL and want to add GraphQL CLI (run from project root). β[96Dβ[96Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mSelect the best option for youβ[22mβ[0m β[0m I want to create a new project from a GraphQL CLI Project Template. β[36m> I have an existing project using OpenAPI/Swagger Schema Definition.β[39m I have an existing project using GraphQL and want to add GraphQL CLI (run from project root). β[96Dβ[96Cβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[1Aβ[2Kβ[Gβ[32m?β[39m β[1mSelect the best option for youβ[22mβ[0m β[0m I want to create a new project from a GraphQL CLI Project Template. I have an existing project using OpenAPI/Swagger Schema Definition.
Versions (please complete the following information):
- OS: Windows 10
-
graphql-cli
: latest
Do you use Windows cmd? They do not support color display in this (as far I remember). Any POSIX compatible cmd will work. Git bash etc.
Sorry forgot to mentioned it but I'm using Git bash.