Version:
-
new:
ConsoleThree classes that handle a directory of cli script files. Running them as templates an making range of methods available to them. -
new:
ConsoleScriptManagergot two events you can add a callable to:-
if no script is triggered, a custom method can be triggered
-
after every script has run, on exit triggers
-
-
new:
CliScriptcan have their own custom config. -
new:
Pencil::dividercreates a line across the screen. -
new:
Pencil::confirmseeCli::confirm. -
update:
TextTableno longer assumes a header only adding one onaddHeader. -
update:
TextTableexample updated. -
update:
Pencil::erroroutputs toSTDERR. -
update:
Argumentsoptionsnow also support stacking. -
update: type setting more methods.
-
update: update
CliScriptheader. -
update:
Pencilline&outuse empty string as default. -
update:
Stdlibminimum required version0.9.0.-
new:
Arguments::jsonSerializeused byjson_encode.
-
-
fix:
TextTabledivider⇒ uses full column width -
fix:
TextTablecoloured string cell width -
fix:
Colors::lengtherror
-
fix: STD(OUT/IN/ERR) undefined
-
new:
Cli::isCliServerIs PHP built-in server -
new:
Pencilstationary tools -
upd:
Cli::inputnew optional arg$defaultreturned if non-interactive shell -
many minor tweaks, updates and fixes
-
new:
Pencil::formatreturns colour string without outputting it -
new:
Pencil::inputreads terminal input -
new:
Pencilcache original text for reversing it in certain situations -
new:
Colour::Defaultsystem colour -
fix:
Arguments::getOptionreturn type -
fix: various little updates and fixes
-
update:
Argumentsimplements\Inane\Stdlib\Converters\JSONable -
update:
Arguments::toJSONadded $pretty option to format json -
update:
HelpScreenfixes for php 8.1 -
update:
\Inane\Stdlib\Jsonstart to replacejson_* -
update: inanepain/stdlib requirement bumped to 0.4.0
-
new:
Cli::shellEnvreturn enum Environment type: none, interactive, non-interactive -
update: minor tweaks, improvements and updates
-
fix:
Lexer::unshiftreturn type -
fix:
Arguments::parseFlagnot incrementing stackable flags -
other minor updates and fixes (mainly to code comments & variable typing)
-
switch from
posix_isattytostream_isattyfor better compatibility -
windows compatibility improvements
-
update return & param types
-
update code docs
-
simplify inter-class function calls
-
improved File writing