Skip to content

Releases: wp-cli/php-cli-tools

Version 0.10.0

07 Sep 22:09
Compare
Choose a tag to compare
  • cli\prompt() includes an option to hide input (useful for passwords, etc.).
  • cli\Table auto-wraps contents of a cell based on TTY width.
  • SHELL_PIPE environment variable can be defined for determining whether TTY is piped.
  • Fix: Add fallback for mb_strlen when PHP mbstring extension isn't enabled (bug introduced in v0.9.5)
  • Fix: cli\Colors::length now returns correct lengths for for colorized strings

Version 0.9.5

29 Jun 20:45
Compare
Choose a tag to compare
  • Character encoding safe strlen() and str_pad() for cli\Color.
  • Initial unit tests.