This repository has been archived by the owner. It is now read-only.
A toolbox for developing command line applications with Rust.
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
examples
src
.editorconfig
.gitignore
.travis.yml
CHANGELOG.md
Cargo.toml
LICENSE
README.md
Vagrantfile
appveyor.yml
provision.sh
rustfmt.toml

README.md

Tutil

Coveralls Crates.io Chat Room License

Build Status
Travis Travis CI
AppVeyor AppVeyor

Tutil is a toolbox for developing command line applications in Rust, influenced by the TTY library for Ruby which intends to reach feature parity with the majority of TTY's features to the extent that is practical in addition to having an extensive and thorough test suite.

Tutil intends to support Linux, BSD, macOS (formerly known as OS X) and Windows. However, in this early stage of development, Tutil in its entirety probably only works on Linux.

The stable documentation can by accessed here.

Features

Implemented features will be marked with a tick (✔) and unimplemented features will be marked with a cross (✗).

  • Terminal output colourisation. ✔
  • Terminal output paging. ✗
  • Terminal ASCII and Unicode tables. ✗
  • System detection utilities. ✗
  • Command detection utilities. ✗
  • Text manipulation (wrapping and truncation). ✗
  • Terminal progress bars. ✗
  • Terminal spinners. ✗
  • User input prompts. ✗
  • Windows support. ✗

There is a tracking issue for these which may be more up-to-date.

Installation

Add the following to your Cargo.toml under the dependencies section:

[dependencies]
tutil = "^0.1.0"