When calling the method Command::printHelp()on Windows, a file is written in the current directory. This file is named nil and contains an error about the tput command not found.
Minimal code for reproducing this error:
<?php
$program = new \Commando\Command();
$program->setHelp('A dumb help message.');
$program->printHelp();
My annual summer cleaning of open issues 😄 Closing this one because it's still not resolved after one year... and I don't use Commando anymore, so this is no longer a problem for me.
PHP: 7.3.7 OS: Windows 10 Commando: 0.4.0
When calling the method
Command::printHelp()
on Windows, a file is written in the current directory. This file is namednil
and contains an error about thetput
command not found.Minimal code for reproducing this error: