Crates.io | unindenter |
lib.rs | unindenter |
version | 0.1.0 |
source | src |
created_at | 2023-02-04 00:54:20.250394 |
updated_at | 2023-02-04 00:54:20.250394 |
description | A simple tool to unindent text |
homepage | |
repository | https://github.com/diaakasem/unindenter |
max_upload_size | |
id | 776119 |
size | 3,749 |
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.
You can install the unindenter by using cargo:
cargo install --locked unindenter
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
Contributions are welcome! If you'd like to contribute to unindenter
project, please open an issue or a pull request.
This project is licensed under the MIT License.