Crate tutil [] [src]

Tutil is a toolbox for developing command line applications in Rust, influenced by the TTY library for Ruby. It provides modules for common tasks such as colourisation, gathering information from the user, confirmation prompts, and querying the system and terminal. It is not intended to be a command line argument parser, rather, it is intended to be a plumbing library for common tasks.

This documentation is written in British English, however the API is completely written in US English to match the design of the Rust standard library and most crates in circulation. If you do find something in the API that is written in British English file a bug report or submit a pull request correcting the spelling.



A module for handling terminal output styling.


Functions for detecting the terminal screen size.