Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Better IO

Better IO (BIO for short) is wrapper around any terminal-based app that provides several quality-of-life improvements, such as:

  • Regex Styling: Output lines can be styled using regex, with the option to only select lines from stderr or stdout
  • No Fragmented Input: Input is performed on its own line, and is maintained while the application produces output

Usage

BIO looks for a config.json file in the current working directory to determine styling. The format for styling is as follows:

{
    "stdout": [
        {
            "pattern": "[Hh]ello",
            "foreground": "cyan",
            "background": "dark_red".
            "attributes": ["Bold", "Underlined"]
        },
        // ...
    ]
}

The valid usage for foreground, background and attributes are provided by Crossterm

About

Better IO - A wrapper that makes terminal apps fun to use

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages