Releases: ngsoft/mini-io
Releases · ngsoft/mini-io
Release list
1.3.1
1.3
1.2
- Improved tag manager
- Improved tag manager plugins to be able to add powerful features
- added attributes that tells the plugin which values where in the tag
- plugin can uses contents after the tag if a closing tag is detected and plugins supports it
- Added cursor management
- added dynamic tags filter plugins that creates styles dynamically (~1200 styles in palettes that can be generated, without counting custom rgb colors)
<xterm(n)><bg:xterm(n)><rgb(r,g,b)><bg:rgb(r,g,b)><#000000><bg:#fff>- tailwind colors https://tailwindcss.com/docs/customizing-colors#default-color-palette
<emerald-500><bg:emerald-500 white> - named colors, both xterm and RGB
<coral><bg:chocolate><gray69>
- added the possibility to escape tags char to use them as signs (
"\\<","\\>") and not be detected as tags without the uses of<and>
1.1.1
1.1
1.0.1
Some hot fixes
- enabled strict types detection (for numeric opts)
- when colors are disabled
<br>tag was ignored - modified argument parser to set a prefix to a numeric argument to not conflict with indexed values:
command arg -v156will returns["v"=>"true","#1"=>"true","#5"=>"true","#6"=>"true",0=>"command",1=>"arg"]
1.0
Mini IO first version
This is a light and optimized version of ngsoft/stdio, a good base to create CLI components
For more complex components, other packages exists
- supports colored output
- supports style tags
<red bold bg:yellow>and ending tags</> - read from stdin
- writes to stdout or stderr
- parse cli arguments
- can use a buffer to create components that can be printed out later
NGSOFT\IOclass contains and map everything together