unindenter

Crates.iounindenter
lib.rsunindenter
version0.1.0
sourcesrc
created_at2023-02-04 00:54:20.250394
updated_at2023-02-04 00:54:20.250394
descriptionA simple tool to unindent text
homepage
repositoryhttps://github.com/diaakasem/unindenter
max_upload_size
id776119
size3,749
Diaa Kasem (diaakasem)

documentation

README

unindenter

Unindenter is a command-line utility written in Rust that removes leading white spaces from text read from stdin. The goal of this utility is to make it easier to work with indented text by removing the leading whitespaces and making the text more readable.

Installation

You can install the unindenter by using cargo:

cargo install --locked unindenter

Usage

You can use unindenter by piping text into it:

echo "    Indented text" | unindenter

This will output:

Indented text

You can also use unindenter as part of a larger pipeline:

cat indented-file.txt | unindenter | some-other-command

Contributing

Contributions are welcome! If you'd like to contribute to unindenter project, please open an issue or a pull request.

License

This project is licensed under the MIT License.

Commit count: 3

cargo fmt