Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Output cmd does not correctly show colours: <yellow>Plugin Name</yellow> #56

Closed
pamtbaau opened this issue Dec 22, 2020 · 2 comments
Closed
Labels

Comments

@pamtbaau
Copy link
Contributor

$ bin/plugin devtools newplugin
Enter <yellow>Plugin Name</yellow>: test
Enter <yellow>Plugin Description</yellow>: test
Enter <yellow>Developer Name</yellow>: test
Enter <yellow>GitHub ID</yellow> (can be blank):
etc
@w00fz
Copy link
Member

w00fz commented Dec 22, 2020

We noticed this too and have been investigating it. Seems to be a Grav related issue.

Thanks for opening a ticket.

@mahagr
Copy link
Member

mahagr commented Jan 6, 2021

Symfony seems to want a different approach:

$io = new SymfonyStyle($this->input, $this->output);
$this->component['name'] = $io->askQuestion($question);

@mahagr mahagr closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants