Releases: minicli/minicli
Version 2.1.1
Fixed bug in OutputHandler where it would pass null when fetching style from CLITheme, instead of setting the default style to "default". Wrote a test to cover the issue.
Version 2.1.0
This version introduces:
- ability to choose theme from app config array with a
themeitem. Custom themes should now extend fromTheme\DefaultThemeand implement methodgetThemeColors(more info on Readme file) - new
debugitem in config, suppresses exception throws when set tofalse(trueby default) - more test coverage
Version 2.0.1
Fixes a bug in the App constructor when a config array is not provided.
Version 2.0
Version 2.0 has massive improvements in stability, now with tests covering almost 100% of the code.
New in 2.0:
- About 98% code coverage with Pest PHP (require-dev only)
- New CLITheme schema, making it easier to include custom styles or change default theme colors and create custom themes
- Improved table output with TableHelper class
- New FilePrinterAdapter to send output to a file
- Improved Output structure with PrinterAdapters (Default and File) and OutputFilters (Simple, Colored, Timestamped)
Version 1.1.2
Moved Curl client to a separate repo (minicli/curly), updated README.
Version 1.1.1
Better command parsing
Version 1.1.0
Better input handling
Version 1.0.6
Adjusts App class to allow for commands running in loops.
Version 1.0.5
This version introduces support for input from the user.
Version 1.0.4
Fixes bug in theme selection, removes unused minicli script since this should be set up at app level, not at lib level.